Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Comb certain fields of the same name with the same name without combing others

New Here ,
Jun 03, 2021 Jun 03, 2021

Copy link to clipboard

Copied

Hello,

 

I have a few forms that were combined and I need to comb certain fields but not others. For example, the form asks for the SSN in several places and on some pages it is combed but on others it is not. Is there a way to format the fields so that only certain fields comb but keep the same name for all fields? My end goal is to only have to enter the SSN once but have it format correctly to all fields named SSN.

TOPICS
Create PDFs, How to, PDF forms

Views

219

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 Employee ,
Jun 25, 2021 Jun 25, 2021

Copy link to clipboard

Copied

Hi Jacob,

 

Hope you are doing well.

Keeping the same name for form fields would auto-populate the same data across all the fields, when entered in one filed. 

Now, coming to the actual question of combining a certain filed of same name but not all. This is something that cannot be achieved directly from Acrobat. There might be a way of doing it by applying some JavaScript. 

Doable of not, this can be confirmed by our community JavaScript expert. @Bernd Alheit 

 

Thanks,

Akanchha 

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 ,
Jun 25, 2021 Jun 25, 2021

Copy link to clipboard

Copied

LATEST

No, that's not possible. What you can do, though, is automatically copy the value from one field to another, and then you'll be able to set whatever display settings you want for the copy. To do so you need to use a simple script. Let's say you want to copy the value of a field called "SSN" to "SSN2". Use the following code as the custom calculation script of "SSN2":

 

event.value = this.getField("SSN").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