Jump to content

Displaying error message in pods


Recommended Posts

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

 

post-384602-0-56164100-1344878885_thumb.png

Edited by n.nagraj321 (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...