Skip to Content
Former Member
May 06, 2009 at 03:56 AM

Validation of input fields



I have a dialog progarm which has 3 fields :

Name,Email ID,Passport no.

I have to validate them as below:

Name : only characters allowed with spaces.

Email Id: There should be one @ in between and one dot after @.

Passport no : It should be alphanumeric field.

I have tried the validation for name as

it_table-name CN sy-abcde.

But its not working. Please suggest the solution.