Checkbox name:
The checkbox to apply the behaviors. To use this behavior you must insert one checkbox that will be replaced from my code with the list of checkboxes displaied in the page.
Very important: the name of the checkbox must end with [] (open and close brackets) like:
<input type="checkbox" name="chk_test[]" id="chk_test[]" />
Columns:
The number of column.
The checkboxes are rendered in a horizontal looper where you can define the columns number.
Recordset:
The recordset where get the value and the text for the chekboxes. One checkbox for each record in the recordset.
Value field:
The field of the recordset will be the value of the checkbox form field. This value will be send on the submit of the form.
Text Field:
The field of the recordset will be the text description of the checkbox form field. This value will be displaied at the right of the checkbox.
Value list:
The field of the recordset where my code get the list of values. You can also set a record field that contains the value list and all the checkbox that has the value in this list will be rendered checked like in an update page. This can be used for an update page where you must check the checkboxes with the value in a database field.
Table Style:
Checkbox Style:
Text Style:
To render the checkboxes my asp code create a table with 2 cell for each checkbox and put the checkbox control in the first cell and the text description in the second cell and with this 3 field you can set a different style for each cell and for the table.