HI,
I am trying to setup a form in CFML (using HTML Form Tags not CFFORM tags), to send a survey to an email address using CFMAIL. I am using check boxes in my form for a user to choose from a number of items. Now they can choose one or many or even none of these items... hence a radio button would not work.
But!.... when I send test this form and send it with out checks in some of the check boxes... it gives me an "Error Occurred While Processing Request" halt. It tells me that the specified form field cannot be found. The one that it cannot find is the one that I did not check.
Any ideas on how I can tell CF to process it? I was thinking of a CFSET tag... like True/False... but when I do check all the boxes... it process the form, but it just says that it is ON when I recieve the mail.
BTW I am referring to the check boxes in my CFMAIL body as #form.checkboxname#
Thanks
Happy
I am trying to setup a form in CFML (using HTML Form Tags not CFFORM tags), to send a survey to an email address using CFMAIL. I am using check boxes in my form for a user to choose from a number of items. Now they can choose one or many or even none of these items... hence a radio button would not work.
But!.... when I send test this form and send it with out checks in some of the check boxes... it gives me an "Error Occurred While Processing Request" halt. It tells me that the specified form field cannot be found. The one that it cannot find is the one that I did not check.
Any ideas on how I can tell CF to process it? I was thinking of a CFSET tag... like True/False... but when I do check all the boxes... it process the form, but it just says that it is ON when I recieve the mail.
BTW I am referring to the check boxes in my CFMAIL body as #form.checkboxname#
Thanks
Happy