HTML Help Please

Soldato
Joined
14 Oct 2007
Posts
2,738
I am trying to finish my website but having a big problem with the 'Contact Us' page. I want a form so people can submit me an email.

I need to have the following:

=====================
Name:
Location:
Contact Number:
E-mail:

Comments:

Issue:
=====================

for the 'issue' field, I want it to be a drop down box where they can select from '4' things...

Can someone help me out and provide the coding please?

Thanks in advance
 
Code:
<select name="cboSelectField">
  <option value="1">Option 1</option>
  <option value="2">Option 2</option>
  <option value="3">Option 3</option>
  <option value="4">Option 4</option>
</select>

Obviously, you'll need to change the values and labels as needed.
 
<select name="issue">
<option selected="selected" value="item1">item 1</option>
<option value="item2">item 2</option>
<option value="item3">item 3</option>
<option value="item4">item 4</option>
</select>

;)
 
<option value="item4"> <-inside the quotes is what the value is.

item 4</option> <-item 4 is what is displayed when a person sees the drop down.

If you tell me the values I will fill them in for you.

Oh I see you need the whole form...
 
yeah, the whole coding for name, contact number, the whole lot...mine didnt turn out right after over an hour of playin around, i then couldnt get it to email to my address after :(
 
that doesnt tell me how to put the mailto: in either...

Can someone submit me the full code and put CAPITALS where I need to change things please?
 
Code:
<form name="ContactForm" action="mailto:[email protected]" method="get">
  First name: <input type="text" name="fname" /><br />
  Last name: <input type="text" name="lname" /><br />
  Location: <input type="text" name="lcation" /><br />
  Contact: <input type="text" name="cntact" /><br />
  E-mail: <input type="text" name="email" /><br />
  <hr />
  Issue: <select name="issue">
<option selected="selected" value="item1">item 1</option>
<option value="item2">item 2</option>
<option value="item3">item 3</option>
<option value="item4">item 4</option>
</select>

  <input type="submit" value="Submit" />
</form>

Try that ;)
 
Last edited:
Code:
<form name="ContactForm" action="form script link" method="get">
  First name: <input type="text" name="fname" /><br />
  Last name: <input type="text" name="lname" /><br />
  Location: <input type="text" name="lcation" /><br />
  Contact: <input type="text" name="cntact" /><br />
  E-mail: <input type="text" name="email" /><br />
  <hr />
  Issue: <select name="issue">
<option selected="selected" value="item1">item 1</option>
<option value="item2">item 2</option>
<option value="item3">item 3</option>
<option value="item4">item 4</option>
</select>

  <input type="submit" value="Submit" />
</form>

Try that ;)

Perfect!!! BUT...where do I insert the mailto: line so the forum gets sent to my email address?
 
Back
Top Bottom