473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Submit Code not Functioning

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
2 1597
AricC
1,892 Expert 1GB
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
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

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

Similar topics

6
by: CJM | last post by:
Can somebody clarify if/how/when a simple form is submitted when the <Enter> key is pressed? As I understood it, if you have a form with a single submit button, if enter is pressed, the form...
2
by: Margaret Werdermann | last post by:
Hi all: I'm having a nasty time with a particularly difficult piece of code and was hoping someone might be able to help me. I have a FormMail form that originally worked perfectly. Then, I...
16
by: Ben Sharvy | last post by:
I want to get the user's choice of some menu items, and pass them to a (PHP) page in the URL, rather than with "Submit" button. I tried this, but it doesn't work: <a...
4
by: Dmitry Korolyov [MVP] | last post by:
When we use btnSubmit.Attributes = "javascript: this.disabled=true;" to make the button disabled and prevent users from clicking it again while form data still posting, there is no longer...
2
by: tatemononai | last post by:
I just migrated from one shared host to a new one. After moving to the new server and getting all my MySQL database connections set back up I have discovered that a few submit buttons on just a...
5
by: Navillus | last post by:
Hey gang, I have a login form that is empty by default, but can be filled with values from a previous form: <input type=text maxlength="40" size="40" name="user" value="`usr`"> <input...
10
by: YellowInvestment | last post by:
Hello: I am new to this group and i am not sure if this is the right place. It would be so helpful if someone can tell how to fix my following problem. the link is:...
1
by: gbezas | last post by:
Hi All, I have added an event handler to redirect form.submit() to a newSubmit() method that I have defined (which does some additional processing before submitting the form). Additionally I...
1
by: partlocator | last post by:
I'm checking on some code my developer did for a form on our site. The code relates to a submit button and I'm not sure if it's functioning properly. I ran the javascript through...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.