- xcitemediaAsked on December 16, 2013 at 02:30 PM
In my form are several checkboxes. Based on what the user selects, I show hidden fields that have to do with what the user checked initially. How can I make fields required, only if another field value (check box in this case) is something?
I am an Owner
I am a tenant
-- if 'I am a tenant' is selected, show hidden fields and now require them to be filled in, only because that specific checkbox was selected.
- JotForm SupportTitusNAnswered on December 16, 2013 at 03:13 PM
You could consider pre-filling the all required fields with a default value as illustrated:
This does not work with all form field types, I have illustrated this with the 'Text box' field type.
I've whipped up a sample form that demonstrates this: http://form.jotform.co/form/33495020088857
This form demostrates the use of required fields which do not prevent a submission regardlessof wheather they are hidden or shown using a conditional rule based on the options of the form user.
Hope this helps.
- xcitemediaAnswered on December 17, 2013 at 05:26 PM
Thanks. That works!
- JotForm SupportTitusNAnswered on December 17, 2013 at 05:48 PM
You are welcome.
Please let us know how we can assist further.