View Single Post
  #5  
Old 01-13-2008, 04:29 PM
Andy128's Avatar
Andy128 Andy128 is offline
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: Entry form - error

Rob-
Lots of problems all over this page.

1- The form action is set to - mailto:enties@gnjgf.co.za
this form requires a php script and therefore you would need to place the php script in a page and call it someting like- process.php. Then change your action to process.php
2- You have a form within a form. The date button is actually a form and is going to cause a conflict.
3-Your field names are way too elaborate and long. Try making them like
last_name, first_name, handicap, etc...

4- The php script has errors. The $email = "email"; should be $email = $HTTP_Post_VARS['email'];

5- There is no submit button at all and therefore- the form will never get processed.
6- The print this form button should not be on the form itself.

It is late and I have worked all night so that is what I can see for now. To fix this I would recommend the following;
1- Remove the Date / time button
2- Remove the Print this form button from the form and place near the top right or left of the page.
3-Have a look at this tutorial - http://netisopen.com/computer/TF001/T001.html
and give it another try by following the instructions very carefully.

If you have problems post back.

Cheers-
Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
Reply With Quote