Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

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:enter image description here If anyone has run across this, any help is much appreciated.

enter image description here

share|improve this question
    
So you want a form that has 3 black lines so a person that prints it can see where to write but those 3 black lines to be linked as though they are one large content box? This is correct? –  Ryan May 1 '13 at 16:25
    
Hi Ryan, just posted a pic of what i'm after. Basically, i'm trying to flow the text across these lines as though it was one content box. You're spot on. I imagine there may be a script for this, but I'm clueless as to how to implement it at this time. Thanks for replying. –  Mike May 1 '13 at 23:14
1  
I have never created a PDF with such needs but a quick tought from similar stuff(in ActionScript or HTML/CSS, JavaScript) is that maybe you are using Single Line text inputs... instead of something like Text Box(supports multiline text) ..but thats just a guess.. I'll have to try this and come back with an answer –  Flavius Frantz May 2 '13 at 0:55

3 Answers 3

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.

multi-line

share|improve this answer
    
cool. thanks for that. will do. –  Mike May 2 '13 at 4:40
var x=this.getField ("Text73");

if (event.fieldFull) {
    getField("Text74").setFocus();
}
share|improve this answer
1  
Could you add some explanation, perhaps what to do with this script? –  JohnB May 30 at 17:06

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.