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 a condition?

    Asked by seotony on November 15, 2016 at 02:42 PM

    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.

    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 Kevin_G on November 15, 2016 at 03:08 PM

    Yes, on the conditions wizard you will find a "+" button where you can add more statements to the condition, once more fields have been added you will be able to select if all the statements need to be met or only one for the condition to be triggered, any is the same as or and all is the same as and in conditions. 

    So you will only need to add all the fields you need in the statements in your condition and then select the option "Any" so if one of all the statements is met the condition will be applied to the form. 

  • Profile Image
    JotForm Support

    Answered by Kiran on November 16, 2016 at 08:59 AM

    It looks like that your response is not posted here. However, I see that the solution provided by our colleague works for you. Glad to see that the issue is now resolved. Please do not hesitate to get back to us if you need any further assistance. We will be happy to help.

    Thank you for using JotForm!