Best practice forum (Archived)

Prevent multi submision

 
CogginsSimon
Re: Prevent multi submision
CogginsSimon 发表于 2012年03月20日 Tuesday 14:50
小组 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