Posted by Manuel Lemos on 10/22/10 11:26
Hello,
on 09/07/2005 12:54 PM bokke said the following:
> I have a newsletter signup form on my front page - you insert your
> e-mail hit submit and through php it sends it to me and the client in
> an e-mail. The problem is - someone is sitting at home going
> click-return-click-return-click-return-click.
> So I put a javascript making the person at least fake an e-mail address
> or it would not go to the next page. The problem is I think the person
> has the second page in favourites and every now and then goes there and
> hits refresh-refresh-refresh-refresh.
> I'm getting about 10 a day - How can I stop it? Help
I think those are nervous users that double click on the button by
accident or because they can wait and click again to make sure the site
gets the submitted form.
You may want to try this forms generation class that prevents submit
button double-clicking:
http://www.phpclasses.org/formsgeneration
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
[Back to original message]
|