One of two fields required - with text box underneath

  • Profile Image
    myformsexcent
    Asked 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
    EltonCris
    Answered 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
    myformsexcent
    Answered 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
    Boris
    Answered 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!