If I have three boxes on my form and I put a number in box number one can I get box number two to calculate 20% of box number one and then have box number three give me the difference between box number one and box number two?
Views
Replies
Total Likes
Hi,
Here is a sample:
https://acrobat.com/#d=vKH9VUsbBeug6h0jVup35g
The calculate event of field nr 2:
this.rawValue = number.rawValue * 0.2;
Calculate event of field nr 3:
this.rawValue = number.rawValue - number20.rawValue;
Hope that helps,
Niall
Views
Replies
Total Likes
Thanks for the help. I put this formula in and it did not work. So know I am even more confused.
Darrin K Sneddon
"True compassion is more than flinging a coin to a beggar; it comes to see that an edifice which produces beggars needs restructuring." Martin Luther King Jr.
Views
Replies
Total Likes
OK I'm an idiot, I got it to work. Now I have a second problem, the numbers need to be dollar amounts so I need the trailing numbers to show even if they are zeros. I figured out the decimal box but not how to get the zeros to show.
Darrin K Sneddon
"True compassion is more than flinging a coin to a beggar; it comes to see that an edifice which produces beggars needs restructuring." Martin Luther King Jr.
Views
Replies
Total Likes
Hi,
Glad you have it working. You can apply patterns to the data in your objects - see here: Re: still having problems with dropdown populate Script
Good luck,
Niall
Views
Replies
Total Likes