Read Thread: Scripting with Livecycle formcalc
Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Jan 21, 2012 5:42pm
I am more than a little frustrated. Does anyone have experience scripting with Adobe's LiveCycle?
I need to do calculations and here's the stupid question, what symbol do you use for multiplication?
This is a little embarrassing, I feel like I should know this. The form turned out to be pretty complicated and I'm use to throwing something together with Microsoft works, (they have a great spread sheet-not compatible, even tried the PDF converter.) So this is literally a new language for me. Any help would be appreciated. Thanks.
I need to do calculations and here's the stupid question, what symbol do you use for multiplication?
This is a little embarrassing, I feel like I should know this. The form turned out to be pretty complicated and I'm use to throwing something together with Microsoft works, (they have a great spread sheet-not compatible, even tried the PDF converter.) So this is literally a new language for me. Any help would be appreciated. Thanks.
Re: Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Reply to: #671263 by More Great Fun
Jan 21, 2012 6:42pm
I'm not familiar with LiveCycle, but almost every program I'm familiar with that can run calculations usually uses the asterisk (*) to represent multiplication. I'd give that a try if you haven't already.
-- Ryan
Re: Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Reply to: #671274 by Green Tortuga
Jan 21, 2012 8:21pm
Ryan is probablyl right (well, duh), but I found this on a discussion forum to backup his guess:
this.rawValue = GW1.rawValue * GWPercent1.rawValue
Good luck!
this.rawValue = GW1.rawValue * GWPercent1.rawValue
Good luck!
Re: Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Reply to: #671291 by MO UR4Me
Jan 21, 2012 8:42pm
Thank you both. I have tried the *, without success. The rawValue is correct terminology for this, but I'm unfamiliar with the rest of the formula. I will give it a try in the am.
I may have to examine the rest of the equation better. I do appreciate your help.
MGF
Re: Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Reply to: #671294 by More Great Fun
Jan 22, 2012 5:24am
I don't think the equation itself is meaningful but it looked like multiplication. I just Googled "livecycle equation" or something like that.
Re: Scripting with Livecycle formcalc
Board: Designing and Creating Webpages
Reply to: #671311 by MO UR4Me
Jan 23, 2012 9:27am
I got it.
I decided it was in my equation. I had 27 lines of addition, then this total to be multiplied by a variable rate to form my total figure. I forgot to put parentheses around all the addition calculations prior to multiplying with the variable.
Basic fifth grade math, duh. Thanks again.
I decided it was in my equation. I had 27 lines of addition, then this total to be multiplied by a variable rate to form my total figure. I forgot to put parentheses around all the addition calculations prior to multiplying with the variable.
Basic fifth grade math, duh. Thanks again.