Text Field autofill when check box selected

New Here ,
May 16, 2018

Copy link to clipboard

Copied

How do I do this?

TOPICS
Acrobat SDK and JavaScript, Windows

Views

76

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Text Field autofill when check box selected

New Here ,
May 16, 2018

Copy link to clipboard

Copied

How do I do this?

TOPICS
Acrobat SDK and JavaScript, Windows

Views

77

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 16, 2018 0
MatLac LATEST
Engaged ,
May 16, 2018

Copy link to clipboard

Copied

Put the following script in the custom calculate tab of the text field.  Make sure to replace what is in BOLD

if (this.getField("Name of the checkbox").value == "Checkbox export value") event.value = "Autofill sentence"

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 16, 2018 0