Thanks for everyone's help.
Here is how I finally accomplished it. I used a variant of Sean's example:
CFLOOP INDEX="field_name" LIST="#form.fieldnames#"
cfoutput#evaluate('form.' field_name)#/CFOUTPUT
/CFLOOP
I gave every check box a name (Q1,Q2,Q3...) -I'm only up to 21
I have search form that contains a large amount of yes/no check boxes -237
to be exact. It is to search the results of a survey that has 237 questions.
Only when a checkbox is checked will data be sent from the form. Because of
this I need to check if each variable is present. I can create 237
2 matches
Mail list logo