Skip to main content
Rivvie99
Participant
April 19, 2022
Answered

Adobe Acrobat 9 Pro - Text Fields, spacing letters

  • April 19, 2022
  • 1 reply
  • 1310 views

Besides using 'Comb of Characters' is there any other way that the letters entered into an Adobe Acrobat Text Field could be spaced out?

 

So instead of having a user's input as 'JOHN' for instance as they type it could appear as 'J O H N'.

 

The reason I do not want to use 'Comb of Characters' is that the text fields will not work for me when viewed on a mobile device. 

 

Thanks for any help 😉

This topic has been closed for replies.
Correct answer try67

Yes, I just want to make it look like there's a space between each character.  More for appearance than anything.  I am not changing any values. I have come across a Javascript to split("").join("") but I have no idea how to write it for adobe acrobat or where to put the code block.


Go to the field's Properties and under the Format tab select Custom and paste the following code as the custom Format script:

 

if (event.value) event.value = event.value.split("").join(" ");

 

Like this:

 

 

1 reply

Bernd Alheit
Community Expert
Community Expert
April 19, 2022

You can use a script for this. But doesn't assume that this will work on mobile devices.

Rivvie99
Rivvie99Author
Participant
April 19, 2022

Thanks for the quick reply and good to know that I might be able to use a script.  The next question I have is where would I get such a script and how would I implement it? I am not a programmer or developer I just try to figure stuff out as I go. Thanks again.

try67
Community Expert
Community Expert
April 19, 2022

Do you want to actually change the value of the field, or just make it look like there's a space between each character?