Creating an "OR" Required field

  • Profile Image
    rubix41
    Asked on July 29, 2011 at 12:09 PM

    Hi! New to jotform and really impressed about this platform. It's very useful for someone like me who needs to get things done fast but neat for other people to use! Anyway, enough gushing!

    What I want to do is create a satisfaction form that allows me to identify who sent it.  The plan is going to be sending them an email to link to my Jotform satisfaction page, let them fill it and then a thank you page that's in-house.

    What I have done is I have asked people to enter their ID number into the form to validate who they are and so I can work out who their response is but HR have said that they might not know their ID number and would it be possible if they entered their phone number or their name instead.

    So I was wondering if there was a solution really. I am thinking maybe a required box that would allow an OR for two pieces of data like:

    1: Please enter either your ID number OR your phone number.*

    Field 1 (ID)*  <---> Field 2 (Phone number)*

    Where as long as field 1 or 2 has the right information inside it then that's fine.

    Failing that, is there anyway Jotform can recognise where the sender accessed the form - if Jotform can tell me which mailbox it came from, I won't need to enter the question. All I would need to know would be that it came from john.smith@whatever.com so it must be john smith since his email address is john.smith@whatever.com

    What do you guys think?

  • Profile Image
    rubix41
    Answered on August 02, 2011 at 12:41 PM

    Thanks for the input - it works like a charm :)