CheckBox Test Form
<cfmodule
template="#coreform#"
formname="form1"
maketable="Y">
<cfmodule template="#coredirections#"
directions="This form uses a valuelist to prepopulate the form" />
<cfmodule
template="#corefield#"
format="checkbox"
fieldname="color2"
required="N"
queryname="get_colors"
valuecolumn="hexcode"
displaycolumn="color"
altselectedvalues="#valuelist(selected_colors.hexcode)#"
altselectedvaluesdelimeter=","
multiple="Y"
caption="A Color"
dynamicselectfield="FFFF00"
blankselection="- Select One -" />
<cfmodule template="#corefield#"
format="submit"
fieldname="Save"
Value="Save" />
</cfmodule>