|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by ctasik in PHP Scripting Language, PHP for Windows, Miscellaneous Web Development
Hello, I have to set up a form on my web page that sends all the info back to me via email. Also it would be great if state info could be added and ip code and phone number fields would sense the value.
You can see all the field in the attachment. Some marked as required. I have also error.html page and thankyou.html page. I need to have php or some other code for it. I don't know php and I tried to modify code that i found online and i failed.
Could you help me to solve it?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
|
<table border="0" cellpadding="8" cellspacing="8" summary="feedback form">
<tr><td><label for="cname">*Company name:</label>:</td><td><input type="text" id="cname" name="cname" size="30" /></td></tr>
<tr><td><label for="tswname">*Name</label>:</td><td><input type="text" name="fullname" id="tswname" size="30" /></td></tr>
<tr><td><label for="phone">*Phone</label>:</td><td><input type="text" id="phone" name="phone" size="30" /></td></tr>
<tr><td><label for="tswemail">*Email address</label>:</td><td><input type="text" id="tswemail" name="email" size="30" /></td></tr>
<tr><td><label for="address">Address</label>:</td><td><input type="text" id="address" name="address" size="30" /></td></tr>
<tr><td><label for="address2">Address(2)</label>:</td><td><input type="text" id="address2" name="address2" size="30" /></td></tr>
<tr><td><label for="city">City</label>:</td><td><input type="text" id="city" name="city" size="30" /></td></tr>
<tr><td><label for="state">State</label>:</td><td><input type="text" id="state" name="state" size="30" /></td></tr>
<tr><td><label for="zip">ZIP code</label>:</td><td><input type="text" id="zip" name="zip" size="10" /></td></tr>
<tr><td><label for="country">Country</label>:</td><td><input type="text" id="country" name="country" size="30" /></td></tr>
<tr>
<td colspan="2">
<label for="tswcomments">Comments</label><br />
<textarea rows="15" cols="45" name="comments" id="tswcomments"></textarea>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="Send Feedback" /><br />
</td>
</tr>
</table>
|
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625