Checkboxes and CF
Hi all, I have populated checkboxes as follow in a form:
< input type='checkbox' name='Admin_1' value=''>
< input type='checkbox' name='Admin_2' value=''>
< input type='checkbox' name='Admin_3' value=''>....
< input type='checkbox' name='View_1' value=''>
< input type='checkbox' name='View_2' value=''>
< input type='checkbox' name='View_3' value=''>....
...I need to know how to write a cfscript/javascript to check if checkboxes are checked...Then I need to get the first part of "_"....then update my db tb field
with that new value.
First part of the "_" is a unique key in db..
Example:
if one checks off admin_1 and admin_3, the string value will be 101 and vice versa... Any help appreciated....
