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.
How to create registration form with unique promo codes that can only be used once?Asked by BDX on June 18, 2015 at 07:22 AM
I actually want a registration form system with unique promo codes that can only be used once and after that it would deny user from registering. I am looking at having up to 10,000 registrants
Could you please tell us if these 10.000 unique promo codes:
1. should be created by the form
2. should only be check by the form if they are correct (and already are / would be created outside of the form).
It doesn't matter how the code would be generated, they must be random and downloadable by only admin. Users would be given the code like a coupon to register and they should only be able to register once with one code.
You can store codes to your form manually through conditions.
I understand that you would like to have the codes unique for every submission, meaning it can only be used once.
So we need to set a Unique Submission for the "Registration Code" field using this guide: How-to-set-Form-Limits-Based-on-a-Unique-Question
So when a Form submitter used the same code that was used before, he will just get an error message like this:
Which you can change using this guide: How-to-Change-Form-Warnings
You've also mentioned that you are looking to have up to 10,000 registrants.
You can set the number of submissions allowable on your form using this guide: How-to-Limit-Submissions-in-a-Form
I hope this helps. Let us know if you need any further assistance and we will be glad to help you anytime. Thank you.
Brilliant! I didn't think of that, however is there a less cumbersome way to input 10,000 codes? Or can I just use a formular to set the range? Such that the codes can also be generated mathematically
If you are going to set the codes with some logic then it would be possible to set some logic inside of your form to match if the entries are correct or not.
This all depends on the code that you would use.
For example when you say this:
Or can I just use a formular to set the range?
Do you mean that you would have the code one after another?
You could set the form to discard the letters and see if the numbers in the text are above and under some frame, like between 1000 and 10000.
More details we get better we can help you as above.
Otherwise, you would need to add all of the codes manually - but you could add 200 of them at one go and then replace them at another time - remove the used ones and add the new ones.
Can you give me an insight into how to use logic to generate random unique numbers that i can print and distribute?
I would like to apologize, but we cannot generate random codes within the form. The only way you can set codes for your Registration code field is by adding the codes manually to the conditions as it was explained above.
If you are asking how to generate codes easily so you can enter it on the form's condition, you can try to use third-party websites like this one: Random Code Generator
And if you want to have those codes automatically be uploaded to your form, I would recommend for you to hire a developer for that. Since JotForm is not an all-in-one solution - you may need to do some extra coding for such specific cases.
Hello Archie. To better assist you, I have moved your question to a new thread. Please follow this link to view it: https://www.jotform.com/answers/887387. Regards.