By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,494 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,494 IT Pros & Developers. It's quick & easy.

Submit Code not Functioning

P: 2
I am new to this stuff so bear with me.

I have a form with typical data requests. However I cannot get the submit code right. I tried a form through bravenet but I don't want my guests to be directed to their site when they "submit " info. I have tried to direct the form through my webhost using their script but no success there either. "Submit now sends them to my error page.....

What am I doing wrong?

Here is my Code:
<form action="http://treecrews.com/gdform.php" method="post" >
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyouestimate.html" />


<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><h3 style="border-bottom:1px solid black;">Estimate Form</h3></td>
</tr>
<tr>
<td>

<label for="Name" style="float:left;width:140px;">First and Last Name:</label><input type="text" name="Name" id="Name" value="" maxlength="" style="width:200px;"><div style="clear:left;height:20px;"> </div>

<label for="Email" style="float:left;width:140px;">E-Mail Address:</label><input type="text" name="Email" id="Email" value="" maxlength="" style="width:200px;"><div style="clear:left;height:20px;"> </div>

<label for="Address" style="float:left;width:140px;">Address:</label><input type="text" name="Address" id="Address" value="" maxlength="200" style="width:200px;"><div style="clear:left;height:20px;"> </div>

<label for="CityStateZip" style="float:left;width:140px;">City, State, Zip:</label><input type="text" name="CityStateZip" id="CityStateZip" value="" maxlength="500" style="width:200px;"><div style="clear:left;height:20px;"> </div>

<label for="Availibility" style="float:left;width:140px;">When can we see you?:</label><input type="text" name="When can we see you?:" id="Availibility" value="" maxlength="200" style="width:200px;"><div style="clear:left;height:20px;"> </div>

<label style="float:left;width:140px;" for="Source">How did you hear about us?:</label><select name="Source" id="Source"><option value="phonebook">Phonebook</option><option value="mailer">Mailer</option><option value="employee">Employee</option><option value="jobsite sign">Sign in Yard</option><option value="signatshop">Sign @ 7919 Hickory Flat Highway</option><option value="referral">Referral</option><option value="websearch">Web Search Engine</option><option value="treejobcom">TreeJob.com</option></select><div style="clear:left;height:20px;"> </div>

<label for="Message" style="float:left;width:140px;">What would you like us to look at?:</label><textarea name="Message" id="Message" style="width:200px;height:200px;"></textarea><div style="clear:left;height:20px;"> </div>


</td>
<tr>
<td align="right">
<!-- YOU CAN MODIFY THE TEXT WITHIN VALUE="" TO MODIFY YOUR BUTTON TEXT-->
<input type="submit" value=" Submit "> <input type="reset" value=" Reset ">
</td>
</tr>
</table>
</form>
Jan 30 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,892
When the user submits the form they are going to this page:

Expand|Select|Wrap|Line Numbers
  1. <form action="http://treecrews.com/gdform.php" method="post">
Is this an error page? I'm not quite sure what you are trying process, the gdform should be some PHP processing your data.
Jan 30 '07 #2

P: 2
When the user submits the form they are going to this page:

Expand|Select|Wrap|Line Numbers
  1. <form action="http://treecrews.com/gdform.php" method="post">
Is this an error page? I'm not quite sure what you are trying process, the gdform should be some PHP processing your data.

That is the code I was given by the WebHost. I am trying to get the form data sent to me by email.
Jan 30 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.