Best practice forum (Archived)

Prevent multi submision

 
Simon Coggins
Re: Prevent multi submision
par Simon Coggins, Tuesday 20 March 2012, 14:50
Groupe Totara

Not really.

Normally you would use the POST method for a form that submits data to be stored, and most browsers will give you a warning if you try to resubmit a form via a refresh. I suppose you could add some code which looked for an existing record and failed the form validation if it already exists but that would require custom code, there is no specific way to do it.

Simon