At 09:41 AM 02/06/2002 -0500, you wrote: > > How can I stop a user from "unchecking" the box below? > > > > <cfinput type="Checkbox" name="select" checked="Yes" required="Yes"> > >Many people have already suggested using JavaScript, or ignoring the form >field value in the action page. > >A better question, though, is why would you present a checkbox if you don't >want the user to be able to uncheck it? In the best case, it's going to be >confusing to people, who, when they see a checkbox, expect to be able to >uncheck it. I'd recommend not using the checkbox at all - it's not the >appropriate interface for what you're trying to do - maybe an alert box, >with it's single "OK" button, is more what you're looking for.
Another option here is to include a pre-checked radio button with only one choice. -- Jeffry Houser | mailto:[EMAIL PROTECTED] AIM: Reboog711 | ICQ: 5246969 | Fax / Phone: 860-223-7946 -- Need a Web Developer? Contact me! My Book: Instant ColdFusion 5 | http://www.instantcoldfusion.com My New Book: ColdFusion: A Beginner's Guide February 2002 -- Far Cry Fly, Alternative Folk Rock http://www.farcryfly.com | http://www.mp3.com/FarCryFly ______________________________________________________________________ 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

