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 badges1 Answer
Reset to default 2youll 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条)