Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2008
    Thanked 0 Times in 0 Posts

    Question Multiple receivers in contact form for webpage


    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:

    <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"/>
    <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"/>
    <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&#248;ren M&#248;ller Hansen">Formanden: S&#248;ren M&#248;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&#248;ren Bech Hansen">Historiker: S&#248;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&#248;r: Thomine Stolberg-Rohr">Redakt&#248;r: Thomine Stolberg-Rohr</option>
    <option value="Indk&#248;ber: Ted Henrik Sandbech">Indk&#248;ber: Ted Henrik Sandbech</option>
    <option value="Medredakt&#248;r: ">Medredakt&#248;r: </option>
    <option value="Carl-Albert Demidoff">Carl-Albert Demidoff</option>
    <option selected value=""></option>
    <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"/>
    <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>
    <tr><td></td><td><input type="submit" value="Send email"/></td></tr>
    I hope that someone out there got the answer!
    Thanks in advance


  2. #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Cowboy Nation
    Thanked 257 Times in 257 Posts
    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.


  3. Users who have thanked jcdevelopment for this post:

    Sixmax (07-16-2008)

  4. #3
    New to the CF scene
    Join Date
    Jul 2008
    Thanked 0 Times in 0 Posts
    Thanks for the answer!

    I'll do that :-)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts