Set the input to readonly, this way they can't type in the box at all, but javascript can still set the value of the box.
I think you can still use the onkeyup function of the input box while it's in readonly as well, if you want to popup an alert box that says "Please use the calendar" or something. ______________________ steve oliver atnet solutions, inc. http://www.atnetsolutions.com -----Original Message----- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 10:31 AM To: CF-Talk Subject: OT: Force Pop-Up Window I am using a pop-window for date entry for my application. Does anyone know of a way to force users to use the pop-up? I want to prevent users from keying in a date via keyboard. James ______________________________________________________________________ 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

