happyb,
Sorry for the late response to your question...but just found the site....
ColdFusion only knows about variables defined within itself, it does not know about
pseudovariables.
Whenever you send a value from a Form via the SUBMIT which uses a dynamic
name for its itdentifier you generally would call it up via the #form.variable#.
However, when using dynamic fields you may use an incrementing naming scheme for each field; i.e., book_name_1, book_name_2, book_name_3, etc. The number of these would be based upon existing Table entries.
If you knew the exact name being selected by the client you could then call it up on the Action page side as: ie, book_name_2. However on the Action Page side you must
test for each via a loop. looping the i value:
you would generate i = 1 through x (use proper loop format)
<cfset dog = 'form.book_name_' & 'i'>
<cfif isdefined(#dog#)>
(((((action)))))))))
<cfif>
Now you can find out which item was selected and its value. However, CF
doesn't recognize #dog# as a valid variable for 'form.book_name_2' in this case.
And that is where EVALUATE enters.
You can now enter:
<cfset bookvalue = #evaluate(dog)#> (((note # on outside of evaluate)))
Now CF knows that BOOKVALUE is a CF variable and it also can acquire its value.
Hope that wasn't too confusing.
pjbarteck