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

If conditions that populate information from textbox A if Checkbox 1 is selected

New Here ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

I'm new to creating forms on Adobe Pro. 

I am creating source forms that will autopopulate the formal form. 

 

The Details:-

The source form asks YOUR NAME, and then it asks YOUR ROLE. The form also asks SPOUSE NAME and then SPOUSE ROLE. 

 

Issue:- I would like to autopopulate YOUR NAME on another form, if YOUR ROLE is "Wife". I would want to autopopulate SPOUSE NAME on another form, if SPOUSE ROLE is "Wife". 

 

I hope this makes sense. 

 

TOPICS
PDF forms

Views

838

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 , Mar 08, 2023 Mar 08, 2023

OK, then as the custom calculation script of the first field you can enter something like this:

 

if (this.getField("YOUR ROLE").valueAsString=="Wife") event.value = this.getField("YOUR NAME").valueAsString;

Votes

Translate

Translate
Community Expert ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

By "another form" do you mean another PDF file entirely, or another section of this file?

The former is quite tricky to implement. The latter is much easier.

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
New Here ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

It is from the same PDF File. 

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
New Here ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

It is from another section of the same PDF file. 

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 ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

OK, then as the custom calculation script of the first field you can enter something like this:

 

if (this.getField("YOUR ROLE").valueAsString=="Wife") event.value = this.getField("YOUR NAME").valueAsString;

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
New Here ,
Mar 14, 2023 Mar 14, 2023

Copy link to clipboard

Copied

LATEST

Thank you!

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