The "Custom Form Submission" method is one of the available features within the poll widget that ensures the integrity of the voting process by preventing users from voting multiple times. This method provides custom validation based on a chosen parameter. It offers flexibility in determining how to prevent users from voting twice through form validation.
This method is combined with the browser method to make the voting process even more secure. To learn about the browser method and additional methods available click here.
To set up the "Custom Form Submission" method, follow these steps:
- In your Common Ninja editor, select the "Settings" tab.
- Look for the "Detect User By" option and, from the available drop-down menu, select "Custom form submission".
- A new option called "Selected Form" will appear. Click on the “Select” icon and choose the form that users should fill out before submitting the vote. Then, click on the "Select widget" button.
- Using the "Form Unique Field" option, select the unique field from your form that will be used to validate each user.
For instance, in the provided example, the "email" field is chosen as the unique field. This means that a user who submits a vote with an email address cannot submit another vote. - That's it! You can view the submissions by navigating to the "Votes" section in your editor. It will display the unique field that each user has submitted, which you can utilize as needed.
Note: the form widget includes a feature called “Multiple Submissions”, when this option is disabled a user will not be able to submit the same email in different poll votes that use the same form widget. to prevent that, simply enable the “Multiple Submissions”. For more detailed information on how to enable this feature click here.
Comments
0 comments
Please sign in to leave a comment.