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 2, 3 or more fields is required: HOW TO?

    Asked by grisu59 on January 15, 2012 at 11:59 AM

    I would like know if there is a way to solve this problem:

    I would like that the user fill one of three fields (ex: email, cellular, postaddress)

    If at least one of these is not filled is not possible send the form

     

    Someone can help me?

    Thanks

    Claudio

  • Profile Image

    Answered by AtacanC on January 15, 2012 at 12:29 PM

    It can be done using the Conditional Logic on Forms. You can hide the submit button. I've made a sample form for you. Submit button is hidden and two fields are required. So they can't just send an empty form. I hope that helps. Click here to see it.

  • Profile Image

    Answered by grisu59 on January 15, 2012 at 12:33 PM

    I'm sorry, maybe I don't explain well

    Is not this my problem

     

    I have 3 fields (email, cellular and street address)

    I need that AT LEAST 1 is filled

    So, noone is required but at least one HAVE TO BE filled

    for example you can fill email or cell or address

    but you can't send if you don't fill 1 of this

    Maybe I will try to understand if is possible use logical forms but seems difficult

  • Profile Image

    Answered by hecuserform on January 15, 2012 at 12:43 PM

    I had Tested your form it is very fine

    But what if i had a matrix can the same logic be applied on the matrix (survey tool)?

    the submit button only appears as the form or the matrix is filled

     

  • Profile Image

    Answered by grisu59 on January 15, 2012 at 12:47 PM

    I tried with condition SHOW/HIDE A FORM FIELD and works fine

    I set that IF ALL 3 FIELDS are empty button SEND is HIDE

    Thanks for you help

  • Profile Image

    Answered by AtacanC on January 15, 2012 at 12:48 PM

    I'm glad to hear that i was able to help you solve your problem. Unfortunately, it's not possible for the matrix. You can only mark it as required. 

    Feel free to contact us if you need further assistance.