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

    Conditions: Required at least one field out of two

    Asked by sixtowns on June 05, 2015 at 05:18 AM

    How do I set a rule that says at least one of these fields must be completed? If it is not the user gets a message to say ‘you must provide us with at least one telephone number’

    Page URL:
    http://form.jotformeu.com/form/51523847981363

    Screenshot
    message at least telephone how
  • Profile Image
    JotForm Support

    Answered by Boris on June 05, 2015 at 09:40 AM

    Hello sixtowns.

    We do not offer this feature directly in the Form Builder, but we  can achieve this requirement by making both of these fields required, and than making another required field in which your customers will choose if they wish to provide only the first number, only the second one, or both.

    Upon cloning your form to show a demo of this feature, I can see that you were on the right track for achieving this - you had a Drop Down offering the user whether to input a Mobile or Landline number. I have slightly changed these settings, I have user a Radio Button field:

    I have made Both Landline and Mobile option selected by default:

    Then, I have written the Conditions in a negative manner - if Landline is selected, hide Mobile. If Mobile is selected, hide Landline. This means that if none is selected, or the third option Both Landline and Mobile is selected, they will see both fields.

    A cloned demo form with this feature can be seen here:

    http://form.jotformpro.com/form/51553976522966

    (You can clone it to take a closer look if you want to.)

    Please let us know if you need further help or assistance with this, we will be happy to help.

  • Profile Image

    Answered by sixtowns on June 05, 2015 at 09:53 AM

    thats great.