JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How to create a one-use-only voucher redeem fieldAsked 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.
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:
I hope this helps. Do let us know if you need more information on this.