Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 23323
Total Votes: 161 votes
Average Rating: 2.84 out of 5
Category: Cold Fusion/Misc
Description:For anyone new to application development, you may be perplexed when you create your form for editing some data that should allow a user to uncheck a checkbox and update a record to a status of not checked.
You will sooner or later discover an oddity about HTML forms. HTML forms won't allow you to uncheck like you think you should be able to. If you uncheck the checkbox, the value becomes NULL and the form doesn't bother to pass the field.
You will find that ColdFusion does have a simple solution and much more with the CFPARAM tag. CFPARAM and How to Uncheck a Checkbox tutorial