PDA

View Full Version : missing_fields_redirect


MRF
12-22-2002, 10:14 AM
After weeks of FormMail.cgi & FormMail.pl, I finally got my forms to work, but I can't get the missing_fields_redirect variable to work.

missing_fields_redirect is pointing to www.ferry-street.com/missing.htm


The form is located at www.ferry-street.com/info.htm

If you don't type in a required field in the form it takes you to the default error message..

Thank YOU..
MRF

don5408
12-22-2002, 01:27 PM
"If you don't type in a required field in the form it takes you to the default error message"

Hi. Yes, I've also noted that for some reason the missing_fields_redirect variable doesn't work when one uses the FormMail script HR has available in cgi-sys. If you want to have that particular option try uploading your own local copy of FormMail.pl to your cgi-bin folder (be sure to modify the values for $mailprog, @recipients and @referrers) and use that instead.

<FORM ACTION="/cgi-bin/FormMail.pl" METHOD="POST">
...instead of...
<FORM ACTION="/cgi-sys/FormMail.pl" METHOD="POST">

Personally I think that the way you have the form setup now is fine (IMHO very few users are going to miss filling out a field in such a basic form, and the advantage of having those who do directed to the default error page is that unlike with a custom page they will be informed exactly what field(s) they failed to complete), however that's your call, if you use your own formmail script it should work as planned (at least it does for me).

Best o' luck!
Don