Where are you placing this script?
This has been a common request over the years and I've never seen a satisfying implementation.
Thanks again for your help in advance.
Okay.. thanks for making me think more about where I was putting what.. For those who are also looking for this solution here is what I came up with.
1. Right click and choose "Properties" on form field you want them to start typing in.
2. Click the "Format" tab and change category to "Custom"
3. insert the code below but replace "goal1cont" with the field name of the new field you want the text to overflow into.
if ( event.fieldFull || event.willCommit )
4. Repeat as necessary for other fields on the page.
5. Save and done!
I figured it out! Yay Me!!! With a little help from the forums.
Be very aware that there are many problems with this approach, among them:
This will break to the next field in the middle of a word, it won't wrap the way many people expect.
Deleting characters in the first field won't rewrap the second field into the first.
If you start editing words in the middle of the first field, it won't push the remaining characters to the next field, it will just jump to the next field when the field is full and continue, resulting in completely disjointed copy.
As George mentioned, there really isn't any acceptable method to do this.
You are right. It is not 100% but for internal distribution of a document, this works well enough. Too bad Adobe doesn't take a lesson from its own Indesign product about linking text boxes.
In addition to what Mark pointed out, using that code will result in at least one character being dropped when the focus gets set to the second field when the first is full.