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

  • Profile Image
    Paul Hempsall 
    Asked 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.

  • Profile Image
    Charlie
    Answered 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.