How to Make a Field Required Based on Another Field Selection or Input

Added: April 10, 2016

Sometimes, you will want to have your form "communicate" with your users as they fill out the form.

The reasons for that are many, and conditions are there to help you with each. Here you will see how you can manipulate the required field option through conditions so that the same are required only when actually needed.

Our demo form will be dance registration form.

Now based on our decision, the form registration is for one person, but it could be for two - partners.

This means that if someone is to register themselves only, they do not need to provide a full name for their partner, but if they are bringing their partner with them, we need to know at least their name.

So once we set up the form, we click on the Conditions button in the toolbar:



From there we select "ENABLE / REQUIRE FIELD"



Now, we make sure that if the partner is coming with the person that is doing the registration, we at least know their name.



And that is it :)

You can see the form here: https://form.jotform.com/61005114200936

Note: The hidden fields are custom styled to be visible so that you can see them "being shown" as well as being marked as required.

Have some questions or issues with your conditions? Just let us know in the comments bellow, or open your own thread by going here and we will be happy to assist :)


3 Comments...


   
TrishBoaz (May 20, 2016 at 09:59 AM)

I am trying to require someone make a payment if the answer to "Are you a member" is equal to "no", but it the "Make Payment" field is not highlighted as a field that I can require...

View Answer


   
mikeBWD (August 09, 2016 at 11:27 AM)

I wish to make a second field required if its field is entered so if anything is in A then complete B.

How do I set the Any field I tried * but did not work, or do I need to write a condition for each letter of alphabet .

View Answer


   
pianospheres (September 07, 2016 at 09:44 PM)

Hello. I want to have a condition that if someone picks an item, they are required to pick 3 sub-items. How would I do that? Thanks.

View Answer


Send Comment