I've figured out how to create forms with discount codes in Cognito Forms. I'd like to be able to prevent specific discount codes from being entered more than once. For example, suppose I will deem a discount code 'valid' if it contains the text 'ABC.' I can check for that, easily. So codes ABC123, ABC456, ABC789, etc. would all be valid. But what if I want to ensure that ABC123 only gets entered once total among all form entries, ABC456 only gets entered once among all form entries, etc. Is this possible? I do not want to limit respondents to how many forms they are allowed to submit.
Cognito-forms – Allowing field entry only once in Cognito Forms (discount codes)
cognito-forms
Related Topic
- Cognito-forms – Changing the font size of field Label entry text in Cognito Forms
- Cognito-forms – Dynamic Field Values in Cognito Forms
- Cognito-forms – Cognito Forms: Fill date field with previous Date field
- Cognito-forms – What does the Cognito Forms “entry limit” cover
- Cognito-forms – Limit choice field selections in Cognito Forms
- Cognito-forms – Limit discount code to once per person
Best Answer
You can easily limit the number of times a value is submitted in Cognito Forms by enabling quantity limits on your form. In the case of single use discount codes, you would do the following:
This will prevent discount codes from being used more than once!
You can learn more about quantity limits in our help documentation!