logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-08-2010, 08:04 AM   #1
Finland Blue
Finland Blue's Avatar
 
Join Date: Mar 2005
Posts: 143
Default Validation of select list

I have a form which uses spry for a validation check.

I cannot work out, in a drop-down list, is it possible to make the first choice invalid. Eg, I have as first choice "Please choose month from below: ..." I want it set that its required to choose a month, but not the first choice from the list.

Can it be done?
Finland Blue is offline   Reply With Quote
Old 09-08-2010, 08:23 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

check here http://javascript.internet.com/forms/val-selection.html
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-08-2010, 08:26 AM   #3
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

http://www.recipester.org/Recipe:For...elect_30227762
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-08-2010, 12:54 PM   #4
Finland Blue
Finland Blue's Avatar
 
Join Date: Mar 2005
Posts: 143
Default

Thanks for the feedback. I meant to say, any way possible using Spry itself (not additional Java Script) so the 2nd link was good. But, I had in fact done everything as it said in that article. But, it does not work. The select lists have "Do not allow blank value" ticked, but actually they do not allow ANY value.

See : http://www.travel-experience.net/formtest.htm

In the first example "Do not allow blank value" is ticked.
In the 2nd example, its unticked.

Seems that when it is ticked, the form won't submit at all.

Last edited by Finland Blue; 09-08-2010 at 12:57 PM..
Finland Blue is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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. The time now is 03:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com