This can apply to normal select fields too given that the criteria for
passing the required field stipulation is that the value of the field in
question contains must value that isn't the empty string - in the same
manner as required text fields. For example your first option may be <option
value="">(Please choose an option). In this case setting required will not
let you get away with leaving the above option selected.
Steve
> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 05, 2000 01:10
> To: CF-Talk
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: <CFSELECT> and the "required" field
>
>
> > The "required" option for CFSELECT is rather silly, when you
> > consider how SELECT boxes work. In a SELECT, something is
> > always selected (the default option, if not changed).
>
> This isn't necessarily true for multi-select boxes. Some browsers will not
> preselect any option within a multi-select box unless the option has the
> SELECTED attribute.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> voice: (202) 797-5496
> fax: (202) 797-5444
> ------------------------------------------------------------------
> ------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]