Nagraj Posted August 13, 2012 Share Posted August 13, 2012 (edited) Hi, I'm searching for a module where user enters email id and clicks the submit button then need to validate the email address if the email id is not valid then show the error message in the pod if the email address is valid then we need to show some messages in the center column. attached the sample scenario. Can anyone help me in achieving this.. Thanks, Nagaraju Edited August 13, 2012 by n.nagraj321 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted August 15, 2012 Share Posted August 15, 2012 to validate a email you need a response (user open the email). But you can validate the domain and the format of the email this free module do this http://catalogo-onlinersi.net/en/add-ons-prestashop-modules/356-email-check-prestashop-module.html Link to comment Share on other sites More sharing options...
Nagraj Posted August 15, 2012 Author Share Posted August 15, 2012 to validate a email you need a response (user open the email). But you can validate the domain and the format of the email this free module do this http://catalogo-onli...hop-module.html Hi, I have done the email validation. Problem is if the email id is valid then i need to show some message to user in center column. if the email id is is not then i need to show the error message in that pod itself not in the center column. I have used the below code and it is working fine if the email id is invalid, but if the email id is valid then i'm redirecting to email.php but it is giving We're sorry, but the Web address you entered is no longer available error message. if ($this->error) { $smarty->assign(array('error' => $this->error)); return $this->display(__FILE__, $this->name.'.tpl'); }else{ Tools::redirect('modules/custom/email.php?email='.$_POST['email']); } Link to comment Share on other sites More sharing options...
Recommended Posts