online form problem
I designed an online form that requires the user to complete the NAME and E-MAIL fields before submitting - the script won't run without it and a reminder message pops up if they fail to do so. The results of all submissions are then e-mailed to me and are preformatted to include all field names, even if some fields are left blank. They also have NEW CONTACT in the subject line. The form has been working great for nearly a year. For the first time, however, I received a NEW CONTACT e-mail that had absolutely no text whatsoever. Any ideas how this could have happened? Thanks for any suggestions!
chrishirst posted this at 16:53 — 31st August 2005.
He has: 379 posts
Joined: Apr 2005
Probably your form relies on javascript to check it and the user had a javascript disabled browser.
Greg K posted this at 21:52 — 31st August 2005.
He has: 2,145 posts
Joined: Nov 2003
I agree with Chris since you say that a reminder "pops up". Never depend soley on javascript to validate a form. It is nice as a first step that is immediate and doesn't require connection to the server, but it is easily shut off for many reasons (same reason that using a "disable right click" to "protect" images on a website is dumb).
You should also have your script that is generating your mail validate the fields as well. Can you post the URL to the site? We would be able to offer better advise then.
-Greg
demonhale posted this at 00:44 — 1st September 2005.
He has: 3,278 posts
Joined: May 2005
also ive tried adding a php check on fields other than the visual warning, so incase they dont enter something on the fields, then it still wouldnt send, visitors with disabled javascript wil just dont have some warnings though...
terrie posted this at 01:18 — 1st September 2005.
They have: 2 posts
Joined: Aug 2005
Per Greg's request, the URL is diazem.com/contact.html. Thanks for your suggestions so far!
Terrie
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.