Jump to content

Form Help.


Hunter94

Recommended Posts

Is there a way I could make a form so when people submit it, it sends the form they filled out to my email? Heres what kind of code I'm talking about. (Oh and if there is a code for my question please post it so I can add it.)

 

 

<form action="/html/tags/html_form_tag_action.cfm" method="get">

<table>

<tr>

<td>First name:</td>

<td>

<input type="text" name="first_name" value="" maxlength="100" />

</td>

</tr>

<tr>

<td>Lunch:</td>

<td>

<input type="radio" name="lunch" value="pasta" /> Pasta

<input type="radio" name="lunch" value="rissotto" /> Rissotto

</td>

</tr>

<tr><td>Drinks:</td>

<td>

<input type="checkbox" name="drinks" value="beer" /> Beer

<input type="checkbox" name="drinks" value="wine" /> Wine

</td>

</tr>

<tr><td>Preferred City:</td>

<td>

<select>

  <option value ="sydney">Sydney</option>

  <option value ="melbourne">Melbourne</option>

  <option value ="cromwell">Cromwell</option>

  <option value ="queenstown">Queenstown</option>

</select>

</td>

</tr>

<tr>

<td>Comments:</td>

<td>

<textarea rows="3" cols="20"></textarea>

</td>

</tr>

<tr><td> </td>

<td>

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

</td>

</tr>

</table>

 

Link to comment
https://forums.phpfreaks.com/topic/141679-form-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.