This is a bug/feature with CFSELECT.  In order for the require to work, you
need to make the size="2".  Otherwise you need to make a javascript
validation function.  I always wished they would fix that so that option
"0" could be used as a not-selected value.

Mary


Hi Guys
please Guide me , i am using a required="yes" for cfselect and it is not
validating
my code
<cfselect name="type"
                     REQUIRED="Yes"
                     MESSAGE="You must select a Role">

                  <option value="0"></option>
                  <option value="1">CA Staff</option>
                  <option value="2">Liaison</option>
                  <option value="3">Support</option>
                </cfselect>


Kindly help me out
-paul



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to