Javascript and input text

Hi all, I’ve been asked if it’s possible to build a input text field into a page with a 1500 charicter limit which can be used to break the entered text into 250 word limit input text fields which will need to overflow into the next box when it goes over the word limit. Is this possible as I’ve found nothing on google searches?

Yes it is possible but I doubt you’d find anything written specifically to do that. You’d need to write the code yourself. The following examples may give you an idea of what is required.

For example to split content at the end of the prior word when it goes over a specific length - http://javascript.about.com/library/blspline.htm

To place an upper limit on the amount of text in a textarea - http://javascript.about.com/library/bltxtmax2.htm

You’d give the next field the focus and move across whatever part doesn’t fit whenever a field is filled.