Skip to main content
Participating Frequently
March 8, 2023
Answered

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

  • March 8, 2023
  • 1 reply
  • 1233 views

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. 

 

This topic has been closed for replies.
Correct answer try67

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;

1 reply

try67
Community Expert
Community Expert
March 8, 2023

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.

vxCClerkAuthor
Participating Frequently
March 8, 2023

It is from the same PDF File.