JotForm User Guide / Advanced Features /

How to Make a Field Required Based on User's Answer

How to Make a Field Required Based on User's Answer

Sometimes, you will want to have your form communicate with your users as they fill it out. The reasons for that are many and conditional logic is here to help you. On this guide, you will see how you can manipulate the required field option through conditions to make fields required only when necessary.

Our demo will be a simple Dance Registration Form.

Usually, the form will only be filled out by one person, but the respondent should also have an option to register two if he/she wanted to bring a partner.

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.

To set it up, click SETTINGS at the top > CONDITIONS on the left > then select ENABLE / REQUIRE FIELD.

Afterwards, setup the Condition so we know the Partner's Name if the respondent will bring one.

And that's it! You can see the form here:

Comments and suggestions are welcome below. If you have a question, post it in our Support Forum so we can assist you.

Contact Support:
Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:
Contact JotForm Support:

Send Comment


  • Lisa Sutton

    I have a series of Yes or No questions. and want them to stand out only if they answer Yes to any of the 4 questions outlined.

  • bartina87


    I am building a form for booking online consultations etc I have set up selection boxes and asking people to click what service they want. Below that I have then put in collapsed sections relating to each service. Is there a way of if they click what service that the collapsed sections open up to relevant click?

  • selectability

    If someone selects a drop down option, I want it to be linked to a certain text. The text depends on the option selected. How do I do this? Thanks

  • friendlyneighbourhotline

    How is the field "hidden" if not required ? It seems to show in the form or not show.
    It would be nice to see the actual Form Build for this demo, not just the submitted form

  • mouna_zreikat

    Hello, I would like to avoid multiple check box in the do I do ?

  • mouna_zreikat

    Hello, I would like to avoid multiple check box in the do I do ?

    please answer :

  • littlebird_db

    I'm working on an order form with shirts of different sizes and colors. Is there a way to create a condition that if they want more than 1 of a specific shirt then have the size and color dropdown menus added so they can select different sizes or colors and not have to get 2 of the same? Does that make sense? or is it easier to just list the color options separate then they choose a size? thanks.

  • darrenerb

    Cannot get this to work no matter what I do. Can someone please help?

    Here is the form I am working on.

    Thanks in Advance!

  • smiddleton

    I want to require an additional field if an answer is greater than 30. What can I put in the answer field? > 30? 31, 32, 33....

    Thanks for your help!

  • benpalm

    Is there a way to have an OR in the required? For example, if they fill out their father's name, I would require a cell number OR a work number.

  • seotony

    Is there a way to have an OR in a condition? In other words I want a field to be required if either field 1 is filled OR field 2.

  • pianospheres

    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.

  • mikeBWD

    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 .

  • TrishBoaz

    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...