This formula is driving me crazy. Its a 3 step process. For one cell.
I need to add cell b + c + d
Then take that number and times by 200,000
then take that number and divide by a
Does anyone have an idea?
Solved! Go to Solution.
Hi,
Following radzmar instruction above to change the code to be
I have made the modifications and uploaded the file here https://acrobat.com/#d=gv3yzm73ZD-8gb-hPOlVbQ
Can you try that document and see if it works for you, this works for me, when
a != 0
b,c,d,e can be 0
Hope this helps
Malcolm
Views
Replies
Total Likes
Views
Replies
Total Likes
In FormCalc it should look like:
im getting a wierd error...
Views
Replies
Total Likes
if a number is already present in A i dont get an error..
i get this error testing in preview in live cycle...
Is there a way to prevent this??
Views
Replies
Total Likes
This error appears, because one of your values is 0.
A division with 0 returns always 0 and the script fails.
So, to avoid the error, you can wrap you formula into an if expression.
Views
Replies
Total Likes
now im getting this error.. We are getting so close to fixing this, i can feel it
Code Behind
Views
Replies
Total Likes
on a side note.. After i hit ok, the calculations work and act right.. I just get this screen when i try to open the form
Views
Replies
Total Likes
Is any value null, 0 or negative by default in your form you use for the formula?
Views
Replies
Total Likes
Its just a numeric field.. Nothing is in the field for value..
Views
Replies
Total Likes
would it help to upload the live form?? How do I upload the form?
Views
Replies
Total Likes
You can use Acrobat.com or any other file hoster to share your form.
Views
Replies
Total Likes
heres the link
Views
Replies
Total Likes
Ok,
that was what I'm asking for.
If any of the values (a1 to e1) is null (empty) the script fails.
So, you need a more specific expression for you formula.
In TIR1 add:
and in LTA1 add:
Views
Replies
Total Likes
I will give that a spin ty
Views
Replies
Total Likes
the errors are gone but now the form is not calculating...... ugh.... this is driving me crazy.. Why??
Views
Replies
Total Likes
Hmmm...I don't see a problem in your form.
The calculations works, when the fields a - e are filled with a value.
Views
Replies
Total Likes
The TIR and LTA Fields are not working
Views
Replies
Total Likes
Hi,
When I download and open your form I get an error on the LTA1 layout ready event, because "Round" is not defined, This is due the script being set to be JavaScript but it is actually FormCalc.
If you go to that event and change the script type to FormCalc, it works as I would expect for me in Acrobat X.
Hope this helps.
Malcolm
Views
Replies
Total Likes
For me they do.
I'm not sure what's might be the reason it doesn't work for you.
Views
Replies
Total Likes
WTF??? Ugh...
Thanks Barlae, i will look into that.
Views
Replies
Total Likes
Views
Likes
Replies