INDEX is a previously defined variable, part of a loop, and gets incremented each pass.
I'm getting 'criteria_string_2' does not exist. (assuming index=2)
<CFSET evaluate("criteria_string_#index# = "#form.search_box#"")>
However, Something like this works fine for me.
<CFSET evaluate("form.caption_#INDEX# = ''")>
What am I doing wrong here? Do I need to cfparam the criteria_string_#index# variable first?
I'm getting 'criteria_string_2' does not exist. (assuming index=2)
<CFSET evaluate("criteria_string_#index# = "#form.search_box#"")>
However, Something like this works fine for me.
<CFSET evaluate("form.caption_#INDEX# = ''")>
What am I doing wrong here? Do I need to cfparam the criteria_string_#index# variable first?