Skip to main content
Known Participant
April 27, 2020
Answered

Populate different text fields in one text field

  • April 27, 2020
  • 1 reply
  • 553 views

Is this possible to populate different text fields into one? Like I have following fields

Name 

Address

Zip Code

Phone 

Email

 

and all filled out information in these text fields can be populated in one text field with multiple lines?

This topic has been closed for replies.
Correct answer ls_rbls

Yes ,this is possible using a javascript custom calculation to concatenate the string values of those fields and populate them into another field as a single line of text.

 

The easiest explanation on how to concatenate I found here: http://khkonsulting.com/2017/01/learning-to-program-javascript-for-adobe-acrobat/ 

 

Be advises that you need to set the mult-line preference to the textbox that will populate with the concatenated values from the other fields:

 

https://m.youtube.com/watch%3Fv%3DeTN9jfUjIrg&ved=2ahUKEwjkyoO5nIjpAhVHaq0KHTpbDeYQFjABegQICxAN&usg=AOvVaw2mCqraPtvpRgtlbSniTuPE 

 

 

 

 

 

 

 

1 reply

ls_rbls
Community Expert
ls_rblsCommunity ExpertCorrect answer
Community Expert
April 27, 2020

Yes ,this is possible using a javascript custom calculation to concatenate the string values of those fields and populate them into another field as a single line of text.

 

The easiest explanation on how to concatenate I found here: http://khkonsulting.com/2017/01/learning-to-program-javascript-for-adobe-acrobat/ 

 

Be advises that you need to set the mult-line preference to the textbox that will populate with the concatenated values from the other fields:

 

https://m.youtube.com/watch%3Fv%3DeTN9jfUjIrg&ved=2ahUKEwjkyoO5nIjpAhVHaq0KHTpbDeYQFjABegQICxAN&usg=AOvVaw2mCqraPtvpRgtlbSniTuPE