Condition Checking on Form Submission

Posted by Phani S on
URL: https://discuss.orbeon.com/Condition-Checking-on-Form-Submission-tp2998123.html

Hi,
   In my I have two input fields. User should provide at least one of the fields. Another check is the fields lengths. If field1 is filled it should be of length 5 or more, if field2 is filled it should be of length 3 or more. I have defined these conditions. If all of these are matched then the submission should happen. Otherwise it should open a pop up dialog and display what is wrong. Please see the attached code and tell me how to do it.

--
Regards
Phani. S



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

form-validate.xhtml (5K) Download Attachment