Copy link to clipboard
Copied
I have a form that contains a multi line form field. What I'd like to accomplish is to make the first line begin indented, and the rest of the lines be full width. Is this possible without creating a separate field for the first line?
Copy link to clipboard
Copied
Yes, but it's a bit tricky.
Apply this code as the field's custom Format script to achieve it:
if (event.value) event.value = "\t" + event.value.replace(/^\s+/, "");
Find more inspiration, events, and resources on the new Adobe Community
Explore Now