Mobile app version of vmapp.org
Login or Join
Cugini998

: How to make a multline form in pdf that text flows through? I'm working on a form that could be filled out manually, or submitted digitally. Here's the issue: When submitting digitally, I have

@Cugini998

Posted in: #AdobeAcrobat #Pdf

I'm working on a form that could be filled out manually, or submitted digitally.
Here's the issue:

When submitting digitally, I have certain forms that have 3 lines for the user to fill out a significant chunk of text. Instead of it compiling on one line using the 'multiline' checkbox in acrobat, can i have it automatically wrap to the next line as the user types to the end of the previous line?

Basically, there are the normal lines which need to be there. I'm wondering if anyone has a script (and how to implement) that would allow when a line is full, to jump to the next line down, flowing the text to the next line.

Here's a screenshot of how the form sections look:
If anyone has run across this, any help is much appreciated.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Cugini998

3 Comments

Sorted by latest first Latest Oldest Best

 

@Gonzalez368

var x=this.getField ("Text73");

if (event.fieldFull) {
getField("Text74").setFocus();
}

10% popularity Vote Up Vote Down


 

@Turnbaugh909

This works but can be a bit time-consuming. This is assuming you're still editing in the Forms function in Adobe Acrobat. I know this works for Acrobat 10.

Highlight/select text field that continuation will be starting from.

Right-Click and Open Properties /
Appearance /
Set an absolute font size (not auto)

Options /
uncheck "multi-line" and "scroll long text"

Format /
Select: Custom /

Paste the following into Custom Keystroke Script (bottom field, note "edit" button on the right):

if ( event.fieldFull || event.willCommit ) this.getField("*name of next
field to continue in*").setFocus();


Repeat this for every field that will need any continuation, ensuring that each target field is named correctly.

10% popularity Vote Up Vote Down


 

@Caterina889

You can't do what you want. Acrobat forms can not "continue" text into another input area or line. So your input area needs to encompass the entire area for input and it must be rectangular.

You are better off creating header text for text areas rather than lines of text. This is merely due to how Acrobat forms work. They can't read the partial lines and adjust input to accommodate for them.

So create your form assuming the data to be input will always start in the top left corner of the text area.

Then it is a simple matter to check the "Multi-Line" option for the form element in Acrobat.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme