This content has been marked as final. Show 4 replies
Use the rawValue of your checkbox instead of just value. If memory serves, the value will be the checkboxs exported value as opposed to a boolean value.
if ( cbquickbooks.rawValue == true )
txtquickbooks.rawValue = "3";
Okay - I'm new as well - in Acrobat Professional 8 - forms (since some folks are on Macs) - can you create a calculated field for say an expense report for mileage.
The text field folks would put in the miles they drove - then I want another field to be able to show the total expense - using the mileage rate (say $.505)
(and if it can't be done in acrobat forms- can it be done in LiveCycle designer for windows? How?
Thanks for any suggestions
Just define your calculation to be the product of the Mileage and Rate fields (You need to create a separate field for the rate, but if you don't want the users to edit it, you can make it read only, or not even make it visible at all)
If you want to do a total sum of multiple mileage fields, just name them 'Mileage.1", "Mileage.2", "Mileage.3"...and so on (the dot is important), and make your mileage total field a calculated sum of "Mileage" field (no dot here) Then use that for the calculation to multiply times your rate value.