How to make the value of an input field equal to another field in the same form?

Explorer ,
Feb 01, 2019 Feb 01, 2019

Copy link to clipboard

Copied

I have a form with two fields at the end, namely:

a) Client Name

b) Client Signature

What I want to happen is the user type in his/her name in the Client Name field and the name gets populated in Client Signature with a different font that would look like its a signature (i.e. Brush Script MT, Rage Italic or similar font)

I have defined Client Signature as Read Only so client won't be able to change or input anything in this field.

Thanks in advance.

TOPICS
PDF forms

Views

3.9K

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

Adobe Community Professional , Feb 01, 2019 Feb 01, 2019

Almost... It should be:

event.value = this.getField("Client Name").valueAsString;

Likes

Translate

Translate
Adobe Community Professional ,
Feb 01, 2019 Feb 01, 2019

Copy link to clipboard

Copied

At the calculation of field "Client Signature" use:

event.value = this.getField("Client Name");

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
Adobe Community Professional ,
Feb 01, 2019 Feb 01, 2019

Copy link to clipboard

Copied

Almost... It should be:

event.value = this.getField("Client Name").valueAsString;

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 ,
May 03, 2022 May 03, 2022

Copy link to clipboard

Copied

LATEST

What does one do with this code?

 

event.value = this.getField("Client Name").valueAsString;

 

In orther words, what field setting does one need to configure in "Client Signature" so that the value from "Client Name" is loaded?

 

Thansk!

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
Explorer ,
Feb 03, 2019 Feb 03, 2019

Copy link to clipboard

Copied

Thanks! Work perfectly.

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