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.
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;
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.
Copy link to clipboard
Copied
It is from the same PDF File.
Copy link to clipboard
Copied
It is from another section of the same PDF file.
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;
Copy link to clipboard
Copied
Thank you!

