- tputnokyAsked on August 23, 2012 at 11:29 AM
i'd like to make a field required IF a certain option is selected in the previous field.
Also, can i make it so that a user can duplicate a field on their own. for example, if i ask a medical practice to list all their doctors, can I just have three name fields with the option of adding more?
thanks for the help!
- pinoytechAnswered on August 23, 2012 at 11:40 AM
Yes, by using conditional logic on your form, you can create hide and show field condition or even making a condition like skipping to a page or end of the form. Please take a look this article for more detailed information on Conditional Logic of Forms.
If you need further assistance, please don't hesitate to contact us at anytime.
- JotForm SupportabajanAnswered on August 23, 2012 at 12:51 PM
Just to be clear that I understand your queries, if a field that hasn't been manually set to "Required" is being displayed on the form, there is no rule which can be created in the Conditions Wizard where that field would become required if a certain option is selected in another field. You would have to create a third field that is identical to the unrequired one except that you would make that new field "Required". Rules can then be created to show the first field and hide its clone or vice versa. This form demonstrates what I mean. When you choose Option 2 in the Select field, the text box appears to become required but it is in fact a different field altogether. Clone the demo and observe how its conditions have been configured. (The autoresponders have also been setup to look the same whether the unrequired Textbox 1 or its required clone has been filled.)
On the other matter of allowing end users to add fields, unfortunately, that's not currently doable in the form builder but I think that more than a few of our users have requested that very functionality. So, hopefully it will become a reality in the not too distant future but I'm in no position to give any timeframe on that.
If you need clarification on anything, please let us know.