[phorm] [Phorm:] Re: End users re-submitting form

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 6 Aug 2004 15:37:58 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#4239) Re: End users re-submitting form 
            <http://www.phorm.com/support/?rev=4239> 
  AUTHOR:   Holotech 
  DATE:     August 6, 2004 at 11:37 a.m. EST 

  Reply To: (#4234) End users re-submitting form 
  Author:   Charles 
  Date:     August 5, 2004 at 4:33 p.m. EST 

> Any suggestions on how to stop users from resubmitting 
> a form. The problem I have seen is users clicking the 
> back button and changing something and then 
> resubmitting. I would like for the "Submit" 
> button to be a bit more final. Is there a java script 
> to clear the history so the back button does not work. 

If you're going to go the JavaScript route, just put some code at the bottom 
of the page that clears the form when the page is loaded. 

A PHP/Phorm option would require inclusion of PHP or JavaScript code that 
would generate a unique ID each time the page is loaded. In your Phorm 
configuration you would log this, then use the UNIQUE criterion to prevent 
multiple submissions. I do a similar thing in the registration page for Phorm. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: