Skip to main content
Participant
July 10, 2023
Question

How to convert text field into text?

  • July 10, 2023
  • 1 reply
  • 979 views

I would like to make text field into text. The fields are filled in with text already, so I would like to use that and be able to make it as text only, and not a editable form field. I've been deleting form fields and pasting text which takes time and want to speed up this process. Any help is much appreciated!

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 10, 2023

You can flatten them, using the following code (which can be executed from the JS Console, an Action or a Custom Command):

 

this.flattenPages();

 

Note that this will affect not just text fields, but all fields of all types, as well as links and comments. It's also non-reversible!

Participant
July 10, 2023

ah I see, thank you!