Turning off required field help
- Started
- Last post
- 8 Responses
- Claymantis
http://www.darcymorris.com/conta…
I don't want the 2 drop down menu's to be required. I can't figure out how to turn that off.
Can someone help!
Thanks.
- plash0
post code for contact.php
- akrok0
i checked your menu, no drop downs on them. wicked.
- plash0
onSubmit="return CheckRequiredFields('Name', 'Phone', 'Email', 'ImageText');"
have you tried removing this string?
- Claymantis0
also it doesn't send the info from the drop down... :P
- Claymantis0
Sender's Ip address: 99.231.89.215
Sender's Name:
Sender's Phone: 231 213 2122
Sender's Email Address:Sender was Referred By:
Service are you interest to:
Preferred method of contact: Phone
On Thu, 19 Aug 2010 15:44:12 -0600, Clayton Needham from the email address sent the following message from your site.
Message: lalalalal
- Claymantis0
It wont send the drop down info or the senders name.. but the senders name is in the email address, so its no big deal...
but not sure why I can't turn off the required function or get info from the drop downs.- b/c this code is lifted and has new procedures; gonna have work it out line by line..plash
- ahhh shit ehClaymantis
- plash0
here's an idea.
try the SELECTED option value in the "Referred By:" & "Preferred method of contact ?" drop downs.
the thinking behind this is; if the php needs validation for the required fields then default the required fields by invoking the form option SELECTED in the xhtml.
<option value="E-mail" SELECTED>E-mail</option>
may work..