PDA

View Full Version : "Conditional Validation"


info72555
09-08-2009, 08:03 AM
Is it possible to check for a selection in a group?

What I would like to do: Offer the visitor choices in a Radio Button Group how they would like to be contacted: email/phone/Fax - and make sure they have selected one. Below, the Radio Buttons, I'd like fields to collect email/phone/Fax but only validate the one they have selected from the Radio Buttons.

I have Universal Email as well and wonder if it would help expand my options in Form Builder.

Thanks

Jimmy Wu
09-09-2009, 10:24 AM
This would be relatively complicated and require quite a bit of hand coding.

An easier way to do this would be to have a page with links to the different ways to be contacted where each link will go to a page that has the form to collect the information needed.

Another way to do this would be to have a radio button group/select list with the different options and submit to another page with the forms and only display the form that the user selected and keep the rest hidden. Each of the forms would have a submit button, so only the validations on that form would be used.