I feel like such a "noob" asking this question, but here goes: How do I
reference a normal variable using a cfscript (or cfsavecontent) which
was calculated outside a cfscript? I'm doing some cfform stuff again,
and the form refuses to compile when I do this:
<cfset gridTotalTwo = 520>
<cfsavecontent variable="calculateTotal">
//show the total
RetainedEarningsEOY.text = gridTotalTwo +
number(RetainedEarningsBOY.text);
</cfsavecontent>
I just stuck the number 520 in there for testing, it could be any number
there obviously. If I remove the part from the cfsavecontent
referencing gridTotalTwo, the form compiles just fine. I feel dumb for
not knowing this.
--
-Mike Staver
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/