select inputs are only validated by CF on the server side. These and
textboxes will need to be done client side with something like javasc
ript.

T


-----Original Message-----
From: Shawn Regan [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 10:54 AM
To: CF-Talk
Subject: cfselect and required=yes


I can never get the required attribute to work on cfselect is there a
 trick?

Code:

<cfselect name="title" required="Yes" message="A title is requi
red.">
                <option></option>
                <option value="Service Manager">
          Service Manager</option> <option value="Parts Manager">Pa
rts
Manager</option> <option value="Parts &amp; Service Manager">
          Parts &amp; Service Manager</option> <option
value="Director">Director</option> <option value="Service Advisor
">
          Service Advisor</option> <option value="Other">Other</opt
ion>
        </cfselect>


My forms always still submit even if they have not selected anything.

Shawn Regan
Applications Developer
pacifictechnologysolutions


_____________________________________________________________________
_
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to