Word wrap in text input?


Ambassador
85 posts

Hi Folks!

I've searched the forums but couldn't find an answer ...

I've set up a live chat facility on my web site (primarily to chat with friends working in Uganda who struggle with things like Skype because connections are slow), and I'd like to change the text input box to a text input area so that whoever I'm chatting with can see their message wrap in the input box/area, rather than be limited to one line, which makes the begiining of the message scroll off the left hand side.

I know that Form Bulider accomodates both text boxes and text input areas, so there's probably a solution to this - I've considered looking at the code, but if someone already knows the answer I can save myself the hassle.

If those ramblings don't make sense, I've explained my dilemma here -

http://www.screencast.com/t/Ey1EcOhw2L

Thanks!

Phil
http://www.gr8-knots.com

Nostalgia isn't what it used to be.


Senior Advisor
13,082 posts

Hi Phil. If I remember right that's one of those odd things about the chat program. It won't wrap your text as you type in the entry box but will wrap the text in the view window when you submit it.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/


Ambassador
85 posts

Hi Rolly,

Yes, that appears to be the case at the moment. However, other Instant Messaging programs wrap text, as do the input boxes in CC forms (including the flash form builder), so I reckon it should be possible to hack the code to change the simple test "box" input into a text "area" input instead. Having said that, if it was really simple then I can't think why the CC developers didn't produce an area instead of a box.

I'll have a brief play around to see if I can figure something out!

Phil
http://www.gr8-knots.com

Nostalgia isn't what it used to be.


Registered User
119 posts

Hi Phil- were you able to find your solution? I am interested in your reply.:) Thanks.
Love those Nikon's!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.