I have a really repetive thing that is sucking up lots of my time on my deadline. I guess I can write some sort of macro(/) using java script ot get this to repeat somehow...NO time to read the entire javascript manual I found online for verison 6 . I have Acrobat X.
I have a row of dollar amounts
$$$$ $$$$$ $$$$ $$$$ $$$$ $$$$$ $$$$$ date $$$$$total of all previous monies
Anyone know how to write the java script for this????
Thank you.
You can use the any of the calculations options:
"Field is the ____ of the following fields" and select the fields.
"Simplified field notation" and just list the field names and use the addition operator between the field names.
Write a custom JavaScript calculation.
All of the above assumes you are using Acrobat Form Tools and a numeric format.
Yes. but it can be made easier if you use a hierarchical naming convention placing one field at row one and and naming it "Row". Now highlight the field and select "Place multiple fields" and create enough fields for the number of rows. Select the row 1 field and repeat the place multiple fields across the row. You now only have to select the field name "Row.0" for the first row.
With a custom JavaScript you would still need to specify each field name.
event.value = Number(this.getField("Field1").value) + Number(this.getField("Field2").value) + Number( this.getField("Field3").value) + Number(this.getField("Fieldn").value);
North America
Europe, Middle East and Africa
Asia Pacific