I am trying to achieve a field which behaves like Twitter.
ie.:
[list]2 lines[/list]
[list]displays how many characters left out of 140 [/list]
[list](additional luxury would be the negative numbers you get in Twitter when you type over the 140)[/list]
So far:
Imperfect solution 1: Textarea:
a textarea with 70 width and 2 lines high. Trouble with that is that you can keep typing forever.... Is there a way to limit the no of characters inputted in a textarea?
Imperfect solution 2: Text
Text Input: Settings in the wizard are size and max size. If I set size to 70 and max size to 140 then that works in that it limits input to 140 characters and fits on the screen but has the effect that the user will not be able to see their whole 'tweet' at once.
But if I set size to 140, then unfortunately the text box extends off through the modules on the right side of my template and off the page. Is there a way to force a text input box like this to wrap? Or a way to instruct it to display over 2 or more lines?
The display stuff is important.
The character count thing would be finesse...
Thanks for any of your wisdom.
Paul
ie.:
[list]2 lines[/list]
[list]displays how many characters left out of 140 [/list]
[list](additional luxury would be the negative numbers you get in Twitter when you type over the 140)[/list]
So far:
Imperfect solution 1: Textarea:
a textarea with 70 width and 2 lines high. Trouble with that is that you can keep typing forever.... Is there a way to limit the no of characters inputted in a textarea?
Imperfect solution 2: Text
Text Input: Settings in the wizard are size and max size. If I set size to 70 and max size to 140 then that works in that it limits input to 140 characters and fits on the screen but has the effect that the user will not be able to see their whole 'tweet' at once.
But if I set size to 140, then unfortunately the text box extends off through the modules on the right side of my template and off the page. Is there a way to force a text input box like this to wrap? Or a way to instruct it to display over 2 or more lines?
The display stuff is important.
The character count thing would be finesse...
Thanks for any of your wisdom.
Paul