Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-12-2009, 03:40 PM
  #1
lornahmcc
Novice (Level 1)
 
Join Date: Sep 2009
Posts: 3
iTrader: (0)
lornahmcc is an unknown quantity at this point
Question HTML(?) - Assistance with executing a contact submit form

Hi folks,

I'm a newbie here and I'm looking for some help. I'm doing a very basic website for a friend and I've got a contact submit form. What I want the form to do is:

1) When I select a "Location" from a dropdown box eg. Glasgow
2) an email is sent to the corresponding email address, in this case: glasgow@dhpscotland.co.uk

However, nothing happens when I click on "Submit"

Any advice you can give would be much appreciated!

-------------------------------------------------------------------------------------
<FORM ACTION="contactus_send.html"
METHOD=GET onSubmit="return dropdown(this.gourl)">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td valign="top"><b>Name:</b></td>
<td valign="top"><input type="Text" name="name" size="25" maxlength="50"></td>
</tr>
<tr>
<td valign="top"><b>Email:</b></td>
<td valign="top"><input type="text" name="email" size="25" maxlength="50"></td>
</tr>
<tr>
<td valign="top"><b>Telephone:</b></td>
<td valign="top"><input type="text" name="telephone" size="25" maxlength="50"></td>
</tr>

<tr><td><b>Course Location:</b></td>
<td><SELECT NAME="gourl">
<OPTION VALUE="">Choose a Location...</OPTION>

<OPTION VALUE="/mailto:Edinburgh@dhpscotland.co.uk">Edinburgh &amp; Lothians</OPTION>
<OPTION VALUE="/mailto:Glasgow@dhpscotland.co.uk">Glasgow</OPTION>
<OPTION VALUE="/mailto:ayrshire@dhpscotland.co.uk">Ayrshire</OPTION>
<OPTION VALUE="/mailto:borders@dhpscotland.co.uk">Borders</OPTION>
<OPTION VALUE="/mailto:dumbartonshire@dhpscotland.co.uk">Dunbartonshire</OPTION>
<OPTION VALUE="/mailto:forthvalley@dhpscotland.co.uk">Forth Valley</OPTION>
<OPTION VALUE="/mailto:grampian@dhpscotland.co.uk">Grampian</OPTION>
<OPTION VALUE="/mailto:Edinburgh@dhpscotland.co.uk">Other</OPTION>

</SELECT></td></tr>

<tr>
<td valign="top"><b>Enquiry:</b></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2" valign="top"><textarea name="enquiry" rows="13" cols="38"></textarea></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="submit" value="Send">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
</form>
lornahmcc is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 01:57 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.