<cfselect name="fiscalyr" size="1" query="queryname" message="Your Are
Required to Enter A Fiscal Year" required="Yes">
        <option value="" selected></option>
</cfselect>

I use the above example all the time for the scenario you described below.

Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com:  (703) 805-1095
DSN:  (703) 655-1095


-----Original Message-----
From: Jeremy Castonguay [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 9:23 AM
To: CF-Talk
Subject: cfselect required='yes' is useless....


<cfselect>

What were they thinking.  Pardon me if I am just being ignorant but the
"Required='yes'" attribute is completely useless.  When the query values are
inserted there is no way to default the select box to null, therefore there
is no way to "not" select a value...

Any thoughts would be appreciated.

Thanks
Jeremy Castonguay
Sr. Web Developer
eCopy Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to