How can I lock access to my forms using conditional logic

  • Profile Image
    CONTOMS
    Asked on October 12, 2017 at 11:57 AM

    Hello,

    I am creating a survey that generates a form certificate. I need to lock access to the survey allowing only those who registered for the class to complete the survey and print the certificate. 

    To do this I have been using the Show/Hide conditional logic for the email field. If the email field equals one the registrant's email address the rest of the form fields are conditioned to show, if a different email is used the form fields are a hidden and a message appears instructing the user to use the email they registered with. 

    Two days ago these conditions worked. Today, the condition will only work if I upload 1 registrants email ( I have 9 emails to upload). Is jotform experiencing some issues with its conditional logic? If not, what am I doing wrong? 



  • Profile Image
    david
    Answered on October 12, 2017 at 01:28 PM

    I cloned your form to test it and only one email has been set up in the conditions:

    1507828873Capture.PNG

    The other emails have not been added as far as I can tell.

    A couple of things to note.  It is not necessary to add the converse conditions for each.  If a field is conditionally shown, it will be hidden until the condition is met.  This makes the hide condition redundant. 

    To make life easier, I would also recommend using a form collapse, instead of showing or hiding several fields.

    https://www.jotform.com/help/297-Show-or-Hide-Multiple-Fields-at-Once-Using-the-Section-Collapse-Field

    This way, your condition for each email would be very short:

    1507829248Capture2.PNG

    1507829187Capture1.PNG