Expand my Community achievements bar.

I want to STOP the user THERE IT SELF!!

Avatar

Level 8

Hello,

(As i am very very beginner to Java SCRIPT, pls. no syntax errors pls pls)

I am allowing the end-user to enter a specific number of characters in field (say, COUNTRY with max. chacratars is 3, like USA), so, i put some validation on VALIDATION PATTERN, working fine, but, say, user entered CANADA.........my form will popup error message, sayong max. is 3 chars only.....then, user pressed OK button on the popup.........and did NOT fixed the issue (user suppose to make CANADA to CAN), skipped and......continued to entering the data in the rest of the fields....but, i want to STOP the user THERE IT SELF!!

UNLESS & UNTIL the user CORRECTS formatting (here max. # of characters) issue, system/form should not let end-user to go further/to enter any data in other fileds/greyed all the REST of the stuff.....User has to fix it to move forward. Pls. let me know  how can i get it?

Thank you

2 Replies

Avatar

Level 8

Actually, am confusing, which is the correct category for my posts? i have 2 kinds of questions,

1) Layout design on the interactive form (developing with LC)

2) Java Script questions

Thank you