PDA

View Full Version : Improved Formmail Configuration



Render
17-Mar-2006, 05:23 PM
I like the basic functionality of the formmail script but I was wondering if it was possible to make formmail look something more like this here (http://www.mpsoftware.dk/downloads.php). I mean I would like to have a way of showing what fields are required by using the asterisk, in addition if the person does not input correct values in the form, the bad_template returns results with a red asterisk indicating required fields instead of a message indicating real name or email address, etc.. No text just a red asterisk by the text box.

russellr
17-Mar-2006, 08:11 PM
Hi,

Putting an asterisk against required fields is simple HTML. Just put the asterisk there.

To get the user back to the original form on error is quite easy too, but it will require a bit of experimenting to get it to work properly. You basically add a redirect in the error template that immediately redirects the user back to the $return_link.