1
I am creating a XoopsFormTextArea and adding it as an element to a form.
$techinfo_textarea = new XoopsFormTextArea("Technical Information: ", "techinfo", "", 6, 75);
I want to limit the amount of characters that are entered into the textarea to 1000 characters. I have a javascript function that I would normally call in the textarea tag like this:
<textarea onKeyDown=textCounter(this.form.description,1000)> textarea>
How would I call the javascript function when using the XoopsFormTextArea function?