I have a form with a text area. Some people double-click on the submit button, and even though I put up a “please wait” kind of message after a submit, some people still manage to do a double-submit.
The problem with text areas is that I can’t make that column unique in the database, so my question is – how can I make sure these forms don’t get submitted into the db twice.
And even if they get into the db sometimes, how do I prevent them from being displayed? Maybe the ladder is the better option?
Thanks!
Use a hidden field that contains a unique identifier.
If you store the unique identifier in the database and add a “UNIQUE INDEX” to that column then they won’t get into the database in the first place.