 | |  |
 |

any
New User
Dec 6, 2004, 8:41 PM
Post #1 of 2
(1878 views)
Shortcut
|
Limit the number of words and caracters ! ANYONE !?
|
Can't Post
|
|
I want to limit the content that is inputed in a textarea (With this tool). but I can only put menus and buttons, does anyone know how to triger a event onChange of the input of the textarea with this tool? I only want to send a value to this text-inputs in the toolbar, I got the other scripts to limit the content (of words and caracters) and validate the limit of html (close tags, etc.) // lim_words if (btnName == "lim_words") { //<input type='text' name='tituloIng' size='78' maxlength='100' value='TITLE in ENGLISH'> toolbar += '<font face="Arial, Helvetica, sans-serif" style="margin: 1 2 0 2; font-size: 12px;"><b>W:</b> </font>'; toolbar += '<input type="text" disabled '; toolbar += ' name="_' +objname+ '_Lim_Words" '; toolbar += ' id="_' +objname+ '_Lim_Words" '; toolbar += ' size="4" '; toolbar += ' maxlength="3" '; toolbar += ' value="0" '; toolbar += ' style="margin: 1 2 0 2; font-size: 12px;">'; continue; } // lim_chars if (btnName == "lim_chars") { toolbar += '<font face="Arial, Helvetica, sans-serif" style="margin: 1 2 0 2; font-size: 12px;"><b>C:</b> </font>'; toolbar += '<input type="text" disabled '; toolbar += ' name="_' +objname+ '_Lim_Chars" '; toolbar += ' id="_' +objname+ '_Lim_Chars" '; toolbar += ' size="6" '; toolbar += ' maxlength="5" '; toolbar += ' value="0" '; toolbar += ' style="margin: 1 2 0 2; font-size: 12px;">'; continue; } Thank you all.
|
|
|  |
 |

Cliff
Staff

Dec 7, 2004, 8:48 AM
Post #2 of 2
(1874 views)
Shortcut
|
|
Re: [any] Limit the number of words and caracters ! ANYONE !?
[In reply to]
|
Can't Post
|
|
Hi any, Thanks for posting! Since htmlArea is an open source application, we don't offer support on it. But there are alternatives: first, you could do a search on http://www.htmlarea.com/forum/ to see if your question has already been asked and answered. If not, you could just post your question - the htmlArea community are an extremely helpful bunch, and between them they'd probably be able to answer you a lot better than we will! I hope that helps Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
|