Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   Spry (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=189)
-   -   Validation of select list (http://www.dreamweaverclub.com/forum//showthread.php?t=37302)

Finland Blue 09-08-2010 08:04 AM

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?

edbr 09-08-2010 08:23 AM

check here http://javascript.internet.com/forms/val-selection.html

edbr 09-08-2010 08:26 AM

http://www.recipester.org/Recipe:For...elect_30227762

Finland Blue 09-08-2010 12:54 PM

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.


All times are GMT. The time now is 05:45 PM.

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