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

    One of two fields required - with text box underneath

    Asked by myformsexcent on January 28, 2017 at 05:59 PM

    Hi,

     

    Quick question regarding multiple choice and required.

    I want to obtain a contact telephone number, either mobile or landline AND I want the number as well

     

    Structure;

    - User must chose one of two options

    - Option 1 - mobile number - with text box for mobile number, or

    - Option 2 - landline number - with text box for landline number

    User must choose one of the two, if one of the two is not choosen AND the number filled in the associated text box form will not submit.

     

    Any suggestion on the best solution to this?

     

    Thanks,

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 28, 2017 at 10:32 PM

    That's possible with show/hide condition base on user's answer.

    Basically, you just need to make all the fields required so it asks for a value. Then show or hide the relevant field base on the user's answer.

    Example:

    https://form.jotform.com/70278110436955

    Conditions:

     

  • Profile Image

    Answered by myformsexcent on January 29, 2017 at 02:00 PM

    Hi,

     

    Thanks for the response and demo.

    Exactly what I was looking for.

    Much appreciated.

     

    Regards,

  • Profile Image
    JotForm Support

    Answered by Boris on January 29, 2017 at 04:05 PM

    Glad to hear that, and if you need assistance with anything else, please don't hesitate opening another support thread in our forum anytime:

    https://www.jotform.com/contact

    We'll be happy to help. Cheers!