actually, using CFFORM and CF<WHATEVERFORMELEMENT> will generate the JS for you.
christopher olive, cto, vp of web development atnet solutions, inc. 410.931.4092 http://www.atnetsolutions.com -----Original Message----- From: Tony Gruen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 2:02 PM To: CF-Talk Subject: RE: cfselect and required=yes 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 & Service Manager"> Parts & 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

