What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to create a one-use-only voucher redeem field

    Asked by Paul Hempsall  on February 12, 2015 at 06:17 PM

    I'm investigating if JotForms will be suitable for my organisation's needs.

    We need to develop a form that will allow customers to supply a unique redemption code that they find on a brochure accompanied with their registration info.

    This would be a 2-step process:

    Use regex (or other) validation to confirm code is valid (ie. within a range) - I notice I should be able to do this OK Check if code supplied has already been redeemed and prevent customer from proceeding to next stage

    This isn't going to be coupled with a payment solution - we just need to capture their rego against the unique code.

    create next unique check find
  • Profile Image
    JotForm Support

    Answered by Charlie on February 12, 2015 at 08:54 PM

    Hi,

    If you would like to set a text box as a validation code field for users and make the code to be used one time only, you can set the form's limit "Unique Question".

    1. Here''s how to do that, add a text box that will act as an input field for the validation code. Click the "Preferences" setting.

    2. In the "Preferences"->Form Limits set the "Unique Question" option to "Validation Code" field.

     

    With that option enabled, previously entered value will not be allowed to use again.

    Another thing that you can use are the function "Conditions" and "Thank You" options in the toolbar. You can check this guide to learn more about them:

    http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    http://www.jotform.com/help/211-Setting-Up-the-Thank-You-Page 

    I hope this helps. Do let us know if you need more information on this.

    Thank you.