• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

If State is VA then display VA Addendum Needed.

Community Beginner ,
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

310

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";

Votes

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"?

Votes

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 Beginner ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

a different field.

Votes

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";

Votes

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 Beginner ,
Aug 12, 2022 Aug 12, 2022

Copy link to clipboard

Copied

LATEST

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

Votes

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