Skip to main content
Participant
September 30, 2025
Question

Convert text frames to text fields using text frame contents as field name

  • September 30, 2025
  • 3 replies
  • 135 views

Hello!
I have several text frames in multiple documents that need to be converted to an interactive text field using the contents of the text frame. 
The field type is indicated by the prefix of the text frame contents.
txt = text
chk = checkbox
rad = radio buttons
lis = list box
com = combo box
sig = signature
Could someone please point me in the right direction for creating a javascript to use in InDesign?
It's been quite a while since I've needed to do any scripting in InDesign.
Please and thank you in advance.

3 replies

Fred.L
Inspiring
October 3, 2025

Hey @TJM25208593jybb 

If you're not much familiar (yet) with form fields, and the limitations when created in Indesign, I'd advise you to have a look at what ID-Extras/Ariel has done on that matter. It's a script that not only helps creating form fields, but also fill the holes in the process, like for instance making sure the fonts used are really used.

There are a few things that are not compatible between ID and Acrobat. It's worth having a look. You may want to save the sweat and go for Ariel's script at the end of the day.

https://www.id-extras.com/products/formmaker

 

Fred

m1b
Community Expert
Community Expert
October 1, 2025

Hi @TJM25208593jybb it would be handy if you could share your example .indd. In case someone has time to play with it.

- Mark

leo.r
Community Expert
Community Expert
October 1, 2025