One of 2, 3 or more fields is required: HOW TO?

  • Profile Image
    grisu59
    Asked 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
    AtacanC
    Answered 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
    grisu59
    Answered 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
    hecuserform
    Answered 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
    grisu59
    Answered 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
    AtacanC
    Answered 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.