Module pool validation and display mode
I have attached a screen shot, in which one input field is used to type email address of receiver.
when I enter incorrect email address validation error comes.
But I am unable to re-enter the address again in the field it goes in display mode.
what should I do??
Message was edited by: Matthew Billingham - meaningful title
Praveer Sen replied
Put your e-mail validation code in PAI and Use below code, before user_command module.
field e_MAIL MODULE mod_email_validatie.
2 FIELD e_mail MODULE mod_email_validate.
To keep your fields open for input after display an error, always use CHAIN..ENDCHAIN if multiple fields validation and for single Field , write a module based on the FIELD name.