How do I create a submission form for 200 pre-generated codes?

  • Profile Image
    influentialcreations
    Asked on December 14, 2013 at 04:47 PM
    Hi! For an event i want to make a submission form for a guestlist. I would like to use unique code in this to make sure that the person has permission from us to submit We would give the person a unique code. We use around 200 codes. Is this possible?
  • Profile Image
    Cesar
    Answered on December 14, 2013 at 08:53 PM

    If this form will be on a site. Then the best thing to do would be to use additional code by way  of Javascript or members only access on a php page, to first have access to the form.

    If you will be providing the actual Form URL and you want this function to work directly form the form. You can achieve this using conditional formatting. 

    By making a rule in which if the user type an specific code then form allows you to enter the next phase:

    Type "hello" or "open" as the passphrase:

    Conditional Rule:

    https://cms.jotform.com/uploads/image_upload/image_upload/global/22239_codecond1.png

    https://cms.jotform.com/uploads/image_upload/image_upload/global/22237_codecond.png

    Example form: http://form.jotform.co/form/33477725135862

    Very important note aboe this process, the codes can be seen by anyone that opens the source code of the form. I would suggest to not use this method, unless it is a very casual matter, and not for any sensitive information or critically private scenarios.

    https://cms.jotform.com/uploads/image_upload/image_upload/global/22238_codenotice.png

    If you do need further support. Do let us know. Thank you.

  • Profile Image
    influentialcreations
    Answered on December 18, 2013 at 07:56 AM

    Hi!

    I can do it by setting 200 conditions for the code field.

    Is this possible and if so, is there an easy way to set up 200 conditions?