Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form

Status
Not open for further replies.

flasher

Technical User
Mar 4, 2002
245
US
I got this form script from someone and it only works if every single field is filled out! If you leave out a field and press submit button, it will not redirect you to the "thank you" page...


Can anyone look at the form:


and tell me how to get it to work even if some fields are left out?? thnx.
 
The form itself isn't causing the problem, but rather the application that processes it, in this case email.cgi

If you can access the source code for this script, then you should alter it to be a bit more flexible. If not, try looking for another script.

From looking at the source code, I presume the idea is that, when the form is filled out, an email gets sent to you with the details. You could change the form tag to something like:

<form method=&quot;post&quot; action=&quot;mailto:info@cuisinecatering.com&quot; enctype=&quot;text/plain&quot; >

There are, however, a few problems with this approach that you should be aware of, so only use it as a short term solution. See the following link for details:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top