admin管理员组

文章数量:1402315

I've got a fillable PDF form my client is using for taking orders. It includes a chart with various fields and multiple rows that all end in a "Subtotal" field. I want to automatically calculate this subtotal field so that the user does not have to punch in the currency themselves.

The value of that field needs to be based off of another field. The user fills in this other field with the total quantity they want. I need to automatically take the quantity they enter and multiply it by a price that I set myself.

How can I do this using javascript in Adobe Acrobat?

I've got a fillable PDF form my client is using for taking orders. It includes a chart with various fields and multiple rows that all end in a "Subtotal" field. I want to automatically calculate this subtotal field so that the user does not have to punch in the currency themselves.

The value of that field needs to be based off of another field. The user fills in this other field with the total quantity they want. I need to automatically take the quantity they enter and multiply it by a price that I set myself.

How can I do this using javascript in Adobe Acrobat?

Share Improve this question asked Jan 29, 2012 at 19:09 jkupczakjkupczak 3,0518 gold badges37 silver badges58 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 2

youll have to do something like this

this.getField("total").value = this.getField("filed1").value + this.getField("filed2").value;

本文标签: