简体   繁体   English

Acrobat JavaScript

[英]Acrobat JavaScript

I'm using Adobe Acrobat to create a form, and am using JavaScript to implement additional functionality. 我正在使用Adobe Acrobat创建表单,并正在使用JavaScript实现其他功能。 I can't find a description anywhere of the control classes for the form (for example, what are the member variables of a CheckBox?). 我在窗体的控件类的任何地方都找不到描述(例如,CheckBox的成员变量是什么?)。

Could someone please point me in the right direction? 有人能指出我正确的方向吗?

What I'm trying to do is modify the value in a TextBox based on the values in other TextBoxes and the checked status of corresponding CheckBoxes. 我想做的是根据其他TextBox中的值和相应CheckBox的选中状态修改TextBox中的值。 If possible, could someone give me an idea of how to do this? 如果可能的话,有人可以告诉我如何执行此操作吗?

Thanks in advance. 提前致谢。

Javascript documentation for Acrobat 10. Acrobat 10的JavaScript文档。

You can set the value of a text field using code like: 您可以使用以下代码来设置文本字段的值:

this.getField("My Text Field").value = "New Value";

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM