Limit to One Response
To prevent users from submitting the same form multiple times when refreshing a page, you can assign a unique cookie value for your survey. This cookie will be set in a respondent's browser upon survey completion to discourage repetitive survey submissions. This demo shows how to set up a unique submission feature using cookie protection. To test this functionality, complete the survey in this example and reload the page. Instead of the survey, you will see a message telling that you have already completed this survey. You can reset the example by clicking "Delete cookies and reload page" in Settings on the right.
To add cookie protection to your survey, specify the cookieName
property. Once the survey is completed, a cookie with this specified name will be set in the respondent's browser. If they attempt to participate again, they'll be directed to a page indicating that they have already taken the survey. To customize the message on this page, assign custom HTML markup to the completedBeforeHtml
property.
While cookies remain a simple and convenient way to prevent duplicate form submissions, it does not guarantee 100% uniqueness. Respondents can still clear cookies in their browser or use a different browser to bypass the cookie protection. If the nature of your survey requires higher levels of response integrity, you may want to consider additional measures, such as user authentication, IP tracking, or other advanced techniques.