These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Need help with Hiding Fields with Calculations

gje4bama
Registered: Apr 30 2009
Posts: 12

I have a form with hidden fields and visible fields, I aslo have a checkbox to hide and unhide the fields. I have 3 fields that are hidden until the checkbox is unchecked, once the user unchecks it he adds the data to 2 of the fields and the 3rd calculates the total of the 2 hidden. I then use that total of the 2 and divide it by a visible field and that totals into another visible field. The problem i'm having is I can't get the hidden_total field to calculate unless its presence is visible, so when I unhide and add everything up there is a field showing that i want to go back to being hidden. Here is how I have it.

Hidden fields "abonding"+"abonding2" = hidden field "total_abond"

I then I have 2 visible fields where "abond_forfeit1" the user adds the amount and then I have another visible field, "abond_forfeit", that takes "abond_forfeit1"/ hidden field "total_abond".

I have everything working but when I get all the totals and want to hide the hidden fields again the data in the hidden field "total_abond" is still showing because I can't get it to calculate the visible fields if I have the Presence of this field set to Hidden from Layout or Invisible.

Any help on how to get that total to work and hide once I have the calculations in would be appreciated.

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hidden fields are alway not included in calculations.
Set them to "invisible".

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

gje4bama
Registered: Apr 30 2009
Posts: 12
After messing with it some more I noticed I had an extra field that was for some reason messing with the total_abond field and not letting it go back to invisible. I took the extra field out and now everything is working right.