Re: Stopping Forms Being Submitted Twice or Not Complete

From: Date: Mon, 28 Apr 2003 12:27:18 +0000
Subject: Re: Stopping Forms Being Submitted Twice or Not Complete
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145519@lists.php.net to get a copy of this message
Hello, On 04/28/2003 07:38 AM, Vicky wrote:
Is there some php code I can put in to stop forms being submitted more than once, or half complete? And if there is what is it and where should I put it? I'm getting fedup with duplicate and blank entries filling my guestbook ;-)
You may want to use this class that provides exactly what you need. It lets you specify a message that will be displayed when the user attempts to submit a form more than once. The submit button is disabled during the form submission to prevent that nervous users click on it more than once. It also provides several types of validation to not allow your form fields to be submitted without being properly filled. It generates the necessary Javascript code to achieve that without Javascript knowledge from you. http://www.phpclasses.org/formsgeneration -- Regards, Manuel Lemos

« previous php.general (#145519) next »