Duplicate entries

By: michael potter | Asked: 06/25/2022
ForumsCategory: General questionsDuplicate entries
michael potter asked 2 years ago
Has anyone had duplicate entries created? Users are submitting once but entries are created twice.   Thanks for any help.
2 Answers
Walter JonesWalter Jones answered 2 years ago
I have had people not closing their browser and resubmitting the same form 2 times.  But never have had it happen upon initial submission. 
michael potter replied 2 years ago

ahh ok i think that is happening for me.

Bobby Clapp replied 2 years ago

A good way to take this on is to add a jQuery redirect after timeout into your message for your forms. Basically, display a message for X seconds, then reload the form page (without re-submission).

Walter JonesWalter Jones replied 2 years ago

Bobby any chance you could share an example code for the good of the republic?

Bobby Clapp replied 2 years ago

Sure thing. https://jsfiddle.net/s96txq0c/

Robin Free replied 1 year ago

Hi Bobby, this sounds like a great solution, thanks. Can you advise where this code redirect should be placed as I'm not a jQuery expert. Should I code it in the bottom of the form or perhaps on the WP page, sorry to be so unsure. I'm confident with PHP, HTML, CSS etc., but not jQuery! 🙁
- Rob.

Bobby Clapp replied 1 year ago

This should go in the "show message" field of the On Submit setting of your form.


Kim Rowe answered 2 years ago
Yes, this has just started happening for some of my forms. Did you find a solution? 
Walter JonesWalter Jones replied 2 years ago

See Bobby Clapps fiddle above for the solution.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community