troubleshooting Question

Coldfusion form variables - Bug that won't go away!

Avatar of roger v
roger vFlag for United States of America asked on
ColdFusion Language
5 Comments1 Solution226 ViewsLast Modified:

I've been posting this chunk of code for a while and no matter what I do, the same bug keeps popping up and I'm unable to fix it. This is the error I get:

Element txt_approvers_2 is undefined in a Java object of type class coldfusion.filter.FormScope.  
The error occurred in C:\inetpub\wwwroot\xx\xxxx.cfm: line 156
154 :                                                 <input type="hidden" name="hRoleNameContactSource_#currentrow#" value="#form['hRoleNameContactSource_'& currentrow]#">
155 :                                <!--- <cfparam name="form.txt_approvers_#currentrow#" default="">--->
156 :                                                 <cfset variables.user = form['txt_approvers_' & currentrow]>
157 :                                                 <!---User:<cfoutput>#variables.user#</cfoutput>--->
Somebody please help!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros