If State is VA then display VA Addendum Needed.

New Here ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

How to I write a javascript for Foxit Pdf Writer/Editor that if the getField "State" is 'VA' then display 'VA Addendum Needed' in this field?

TOPICS
Edit and convert PDFs , JavaScript , PDF forms

Views

34

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
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 12, 2022 Aug 12, 2022

Use this as validate script of 'State' field, change name of different field:

if(event.value == "VA")
this.getField("different field").value = "VA Addendum Needed";

Likes

Translate

Translate
Community Expert ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

You know Foxit has their own forum?

By 'show result in this field' you mean same field 'State' or different field and if different field what should happen if value is not "VA"?

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
community guidelines
New Here ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

a different field.

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
community guidelines
Community Expert ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

Use this as validate script of 'State' field, change name of different field:

if(event.value == "VA")
this.getField("different field").value = "VA Addendum Needed";

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
community guidelines
New Here ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

LATEST

Thank you so much, I havn't figured out their forum yet.

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
community guidelines