Form processing is widely used and there are plenty of scripts available out there. This experiment was to take three scripts with spam prevention, form validation and the ability to redirect the user on successful or error user submission.
I chose the following 3 to experiment with:
These were used in conjunction with a Javascript form validation script by Mark Grabanski.
PHP Formail
This script was finally set up after 5 days of trawling through the forums. It was eventually started from scratch and then I got it working within 10 minutes. This is a highly configurable script that separates successful and error pages, spam prevention, mail templates, autoresponder and much more. I created a post to display how to set it up with form redirection. You can find it here.
Catch-all PHP Form Processor
Now this script is overall very useful and it only took about 5 minutes to set up on an already configured form, however, I am unsure of the two-step confirmation page in which you are redirected to review your entries and finally send the form. It could well put people off.
PHP FormMail Generator
This is simple to set up as you set it up online and then download the zip file which can be done in a couple of minutes. On user submission you can set it up to redirect you to a custom thank you page which shows more options in the initial setup. The error message is displayed within the form page itself, which is not the best with a tight layout. Has built-in CAPTCHA to prevent spam.
Conclusion
If you want lots of features then Tectite FormMail is an excellent choice if you have the patience and knowledge to set it up, however, if you want something quick and easy then the catch-all and form processor and FormMail generator are right for you.
Discover more from WorldOWeb
Subscribe to get the latest posts sent to your email.