Require one form of contact (from choice of 3) to be entered?

  • Profile Image
    createmymobile
    Asked on March 18, 2012 at 01:47 AM

    Let's say I have a form that asks a visitor for their email, phone number, or street address, and I want to require that at least one of these is selected, but it doesn't matter which one...  how would I do that?  If I use the "required" button, it just makes a specific option required, and I only want one of the 3 to be required at minimum.

  • Profile Image
    jcm0731
    Answered on March 18, 2012 at 02:04 AM

    Hi,

    How about not making any of them "required" but instead create a Condition Rule that will only allow to proceed if ANY of the field is not empty.

  • Profile Image
    idarktech
    Answered on March 18, 2012 at 02:07 AM

    Hi there,

    It's not currently possible but you can use Conditions for that. For example, if someone filled at least one field from your form, your submit button would show (become visible) other wise if nothing is filled (all fields are blank) no submit button will be shown.

    Here's a sample demo: http://www.jotform.me/form/20771546315452

    Feel free to clone this form to figure out how I've created this condition.

    Hope this still helps. Just let us know if you have further questions about this. Thanks.

  • Profile Image
    jcm0731
    Answered on March 18, 2012 at 02:11 AM

    As my colleague idarktech suggested. :-)
    Here is also the Condition Rule I mentioned for your guidance. 

  • Profile Image
    createmymobile
    Answered on March 18, 2012 at 03:15 AM

    thanks.  I did it the other way around- set the conditions to "if empty", and chose "if all" are matched, then "hide" submit.  Same difference I guess

  • Profile Image
    gori-mathew
    Answered on March 18, 2012 at 04:15 AM

    Hello;

    Unfortunately, it is not possible to setup conditions for a group of field. The closest we have is the PageBreak. You can skip/show pages, so that might do what you would like.

    You can check on working and limitations of conditional feature on ; http://www.jotform.com/help/57-Conditional-Logic-on-Forms

    Thanks you!

  • Profile Image
    idarktech
    Answered on March 18, 2012 at 05:45 AM

    @createmymobile,

    Glad to hear that you've figured out the power of conditions feature. Enjoy!