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.
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
Copy link to clipboard
Copied
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;