A checkbox will only be defined if checked on the form. Otherwise, it is not
defined.
<CFIF isdefined("form.chkbox")> should do the trick.
Jerry
Jerry Johnson
Web Developer
Dolan Media Company
>>> [EMAIL PROTECTED] 12/10/04 01:45PM >>>
Hi. I have a checkbox on a form. The code on the action page should be
executed only if the checkbox was selected on the form.
What CFIF statement can i use on the action page to achieve this.
Using <CFIF #form.chkbox# EQ ""> does not work.
Any suggestions please.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187055
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54