Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-16-2008, 06:07 PM   PM User | #1
Sixmax
New to the CF scene

 
Join Date: Jul 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Sixmax is an unknown quantity at this point
Question Multiple receivers in contact form for webpage

Hey

I am totally new to HTML coding.
I have a problem. I found a good code for a contact form to my web page on a Google search. the problem is that i want the option to send the message written in the text field to the receiver chosen from the drop down menu . How is that possible, and what should i add to my code?
This is how my code looks:

Code:
<left>
<form action="http://www.123contactform.com/contact-form-Sixmax-3273.html" method="POST" enctype="multipart/form-data">
<input type="hidden" name="action" value="verify"><table>
<tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Name:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td>
<input name="control19020" type="text" value="" size="20"/>
</td></tr>
<tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Email:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td>
<input name="control19021" type="text" value="" size="20"/>
</td></tr>
<tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Receiver:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td>
<select name="control19025">
<option value="Formanden: Søren Møller Hansen">Formanden: Søren Møller Hansen</option>
<option value="Kasserer: Martin Schweinberger">Kasserer: Martin Schweinberger</option>
<option value="Menig: Christian Sylvester Christensen">Menig: Christian Sylvester Christensen</option>
<option value="Menig: Andreas Lund Ertbjerg">Menig: Andreas Lund Ertbjerg</option>
<option value="Historiker: Søren Bech Hansen">Historiker: Søren Bech Hansen</option>
<option value="Juniorleder: Martin Reib Petersen">Juniorleder: Martin Reib Petersen</option>
<option value="Webmaster: Sixten Maximillian Thestrup">Webmaster: Sixten Maximillian Thestrup</option>
<option value="Redaktør: Thomine Stolberg-Rohr">Redaktør: Thomine Stolberg-Rohr</option>
<option value="Indkøber: Ted Henrik Sandbech">Indkøber: Ted Henrik Sandbech</option>
<option value="Medredaktør: ">Medredaktør: </option>
<option value="Carl-Albert Demidoff">Carl-Albert Demidoff</option>
<option selected value=""></option>
</select>
</td></tr>
<tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Subject:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td>
<input name="control19022" type="text" value="" size="20"/>
</td></tr>
<tr><td valign=top><font size="2" FACE="Verdana" color="#000000">Message:</font><small><span style="color:#E00000;" title="Required field">*</span></small></td><td>
<textarea name="control19023" rows="7" cols="20"></textarea>
</td></tr>
<tr><td></td><td><input type="submit" value="Send email"/></td></tr>
</table>
</form>
I hope that someone out there got the answer!
Thanks in advance

Sixmax
Sixmax is offline   Reply With Quote
Old 07-16-2008, 06:19 PM   PM User | #2
jcdevelopment
Senior Coder

 
jcdevelopment's Avatar
 
Join Date: Oct 2007
Location: Cowboy Nation
Posts: 2,171
Thanks: 173
Thanked 257 Times in 257 Posts
jcdevelopment will become famous soon enoughjcdevelopment will become famous soon enough
You would have to use a server side coding, such as PHP or .net to talk to the server and send the text in the field. You cant do that with HTML alone. Check in the php section of the forum and they will be able to help you better than in here.

http://www.php.net/
http://www.microsoft.com/NET/
jcdevelopment is offline   Reply With Quote
Users who have thanked jcdevelopment for this post:
Sixmax (07-16-2008)
Old 07-16-2008, 06:20 PM   PM User | #3
Sixmax
New to the CF scene

 
Join Date: Jul 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Sixmax is an unknown quantity at this point
Thanks for the answer!

I'll do that :-)
Sixmax is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:30 PM.


Advertisement
Log in to turn off these ads.