>- see footer for list info -<
I have had the same problem (on 6.1 anyways), was so annoying because I
HAD to use CFFORM (wasn't allowed to re-do it as a normal FORM), and HAD
to have a first option the same as you (like "Select Whatever"). Having
REQUIRED="Yes" is completely useless in a CFSELECT if it is a single
SELECT list (or a multiple SELECT with SIZE=1). I had to fix it by
editing CF's cfform.js that sits in the CFIDE/scripts directory (which
you might not want/be able to do) to do a simple check to see if the
SELECT list to check was multiple or single ... if(obj.multiple) ... if
it's a single SELECT list, then I made it fail if option 0 was selected.
________________________________
From: Andrew Davidson [mailto:[EMAIL PROTECTED]
Sent: 13 July 2006 13:25
To: [email protected]
Subject: [CF-Dev] cfselect
>- see footer for list info -<
Am fixing up someone else's code, and they have a cfselect in
there that is set required="yes", which doesn't work at all, in that the
first option in the select list, which is along the lines of "Please
select an option", still passes the required check (which it shouldn't).
I haven't used cfform much myself, so is this correct ? If it is, then
that is pretty useless, isn't it ?
---------------------------------
Inbox full of spam? Get leading spam protection and 1GB storage
with All New Yahoo! Mail.
_______________________________________________
For details on ALL mailing lists and for joining or leaving
lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer
your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<