additional text to TextArea
additional text to TextArea
Any ideas how to add additional text to textarea tag when tag is created via CreateTextArea function? I can not find any parameter that should do that, like in other inputs :/
Re: additional text to TextArea
Yeh, but which parameter allows me to add OnClick="" stuff into TextArea? I know how to add that into text inputs or sumbit buttons, but tried all parameters for TextArea - non worked :/
Re: additional text to TextArea
Hmm, I see - there's currently no parameter like $addttext to do that.
Think it's time for a feature request in forge ... or you hack class.module.inc.php, line 1832 in CMSms 1.2.5
Not sure if it will work ...
Think it's time for a feature request in forge ... or you hack class.module.inc.php, line 1832 in CMSms 1.2.5
Code: Select all
function CreateTextArea($enablewysiwyg, $id, $text, $name, $classname='', $htmlid='', $encoding='', $stylesheet='', $cols='80', $rows='15', $addttext='', $forcewysiwyg="", $wantedsyntax="")
{
return create_textarea($enablewysiwyg, $text, $id.$name, $classname, $htmlid, $encoding, $stylesheet, $cols, $rows, $addttext, $forcewysiwyg, $wantedsyntax);
}
Re: additional text to TextArea
OK, $addtext will be available for CreateTextArea in coming version 1.4.