I have a large enough form that has a lot of areas, most of the fo which are dollar amounts. In fact, I have 2 questions.

Question 1: have a field called "subtotal Sec 1', which automatically calculates the sum of all the fields in Section 1." I have an another field called "Discount s 1'. '. There is a third field called "Total partial services. Normally the subtotal simply exemplary service which is SuibTotal Sec 1. If an amount is entered to Discount Sec 1, I need this number to copy to subtotal services.

Question 2: I have a field called "Membership number", and 2 other fields that represent a percentage (for example 5% les.05) and the autres.07 7% each. If a number and it cannot start with zero, is entered in the membership number, I have need of one or two fields percentage, register zero, according to receipts.

Please do not consider question 2. I realize that what I'm asking is not possible without adding more fields, which I have no room for.

Thank you in advance for any help I receive.

(1) to use this code as the "subtotal Services: custom calculation script

var v1 = this.getField("SubTotal Sec 1").valueAsString;
var v2 = this.getField("Discount Sec 1").valueAsString;
if (v2=="") event.value = v1;
else event.value = v2;

(2) why don't you just remove this question of your post, then?

Tags: Acrobat

Similar Questions

Maybe you are looking for