01-06-2015 9:03 AM
Hi,
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??
thanks
darshan
Message was edited by: Matthew Billingham - meaningful title
01-06-2015 9:08 AM
Hi Darshan,
Put your e-mail validation code in PAI and Use below code, before user_command module.
1.
CHAIN.
field e_MAIL MODULE mod_email_validatie.
ENDCHAIN.
Or.
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.
Regards.
Praveer.
01-06-2015 9:04 AM
01-06-2015 9:09 AM
hii Darshan
in your validation condition write else statement and call screen again in that else.
hope it will solve your problem
Regards
Gaurav
01-06-2015 9:08 AM
Hi Darshan,
Put your e-mail validation code in PAI and Use below code, before user_command module.
1.
CHAIN.
field e_MAIL MODULE mod_email_validatie.
ENDCHAIN.
Or.
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.
Regards.
Praveer.
01-06-2015 9:13 AM
01-06-2015 9:29 AM