Reputation: 3200
I have this struct after I dump it like this:
<cfdump var="#currentInfo.answers#">
How can I access the value inside the LIST
?
I need to compare that value with another variable in the future to allow me to do certain operations.
Upvotes: 1
Views: 133
Reputation: 6430
Since the value is dynamic you'll need something like this:
currentKey="F0FF5FDC-D2C3-4D0F-D7D2D2886D5B430d";
currentInfo.answers[currentKey].LIST;
Upvotes: 0
Reputation: 5678
The code below ought to do it:
currentInfo.answers["F0FF5FDC-D2C3-4D0F-D7D2D2886D5B430d"].LIST
Upvotes: 5