How to automatically calculate the value of a text field in Adobe Acrobat with javascript based on the contents of another text

I've got a fillable PDF form my client is using for taking orders. It includes a chart with variou

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;

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744351458a4569999.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信