Preventing Duplicate Submission
-
Hello π
I have been able to use the code on the page https://cfdbplugin.com/?page_id=904…
I have a few forms that I need to be submitted only once. The code works great as long as the content of the field it is comparing is exactly the same. All the fields are “text” and “textarea” fields and are required fields.
These forms are on a membership site and only visible when the person is logged into their account. We also display the data (via shortcode) that the member submitted in another area of their account.
The issue is the member is able to submit the form(s) over and over as long as the content of the comparing field is not exactly the same.
I know that the validation is at the field level and not the form.
So a possibly better option is to validate a field if it’s “empty”. Since all the fields are required, it means the fields can’t be empty. This way it doesn’t matter what data is in the field.
Can you help me in modifying the code on the page https://cfdbplugin.com/?page_id=904 to be able to determine if the field is empty?
I really appreciate what you’ve done π
The page I need help with: [log in to see the link]
The topic ‘Preventing Duplicate Submission’ is closed to new replies.