Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 07-07-2009, 10:19 AM   #1
Advanced Warrior
War Room Member
 
Barbara Eyre's Avatar
 
Join Date: Jan 2006
Location: North Carolina
Posts: 903
Thanks: 98
Thanked 31 Times in 25 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Need help with a simple HTML form

It's a simple name, address type form that is method=post and enctype=text/plain

Everything works fine except for the drop down that contains all the US states ... whatever choice the user selects does not get sent in the email with the other information.

Code:
<font face="Arial" size="2">State</font><br>
<select size="1">
<option value="">-- Please Select --</option>
<option value="Alabama">Alabama</option>
<option value="Alaska">Alaska</option>
----snippet for length sake here----
<option value="Wyoming">Wyoming</option>
</select>
No tutorial mentions anything else for drop downs.
So what am I missing that a drop down selection doesn't get sent?

Thanks in advance

EDITED: Dear lord, figured it out - obvious = forgot the "name" value in the select area (ie, name="State:"). New it was something obvious!

Barbara Eyre is offline   Reply With Quote
Old 07-07-2009, 10:24 AM   #2
Active Warrior
War Room Member
 
willmartinapj's Avatar
 
Join Date: Jul 2009
Location: Atlanta,GA
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to willmartinapj
Default Re: Need help with a simple HTML form

you are missing the select name
Code:
<select name="states">

ButterflyMarketingPlus.com - Butterfly Marketing scripts and tips...

*WSO - ContentClocker - *WSO - Have a website? Marketing or not, this script is a must. Only $7
willmartinapj is offline   Reply With Quote
Old 07-07-2009, 10:24 AM   #3
Senior Warrior Member
War Room Member
 
Dave Gammage's Avatar
 
Join Date: Sep 2005
Location: Lee's Summit, MO
Posts: 1,450
Thanks: 4
Thanked 95 Times in 18 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via AIM to Dave Gammage Send a message via MSN to Dave Gammage Send a message via Skype™ to Dave Gammage
Default Re: Need help with a simple HTML form

Is the selection referenced in the form action? PM me and I'll help out.

Dave Gammage is offline   Reply With Quote
Old 07-07-2009, 02:24 PM   #4
Active Warrior
 
Join Date: Jun 2009
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Need help with a simple HTML form

Yup <select name="states"> should be there or else nothing will pass though
solidsoul is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
drop down selections, form, html, simple

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:25 PM.