What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Is there a way to have an OR in the required?

    Asked by benpalm on December 06, 2016 at 04:43 PM

    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.

    This is a re-post of a comment on How to Make a Field Required Based on User's Answer

  • Profile Image
    JotForm Support

    Answered by liyam on December 06, 2016 at 08:12 PM


    You can set your form to have a condition that sets a field as required or enabled based on a previous field or reference field. 


    Then simply add two conditions that shall hide or disable the other field if one of them is filled. Meaning -- (1st condition) if mobile number is filled, hide the office number. (2nd condition) If office number is filled, hide mobile number. Here is a sample screenshot of the conditions on how it may appear:

    Check out this form in action following the conditions above: https://form.jotform.com/63407352147958 

    You can check this guide for the information: https://www.jotform.com/help/367-How-to-Make-a-Field-Required-Based-on-User-s-Answer

    If you have questions, please let us know.