Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Module pool validation and display mode

former_member219850
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

ipravir
Active Contributor
0 Kudos

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.

5 REPLIES 5

former_member219850
Participant
0 Kudos

0 Kudos

hii Darshan

in your validation condition write else statement and call screen again in that else.

hope it will solve your problem

Regards

Gaurav

ipravir
Active Contributor
0 Kudos

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.

0 Kudos

thanks a lot..

0 Kudos

This message was moderated.