Best Tutorials website


CFPARAM and How to Uncheck a Checkbox

CFPARAM and How to Uncheck a Checkbox

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.




Views: 1324 | Rating star | by Jason




View this tutorial
Broken link Report broken link?