jflash
Member
I made small form with javascript witch counting characters (and multiply count with *2) in textarea: http://jflash.pri.ee/index.php/tahed. To do it i use ReReplacer to change textarea HTML in code, this:
i replace with this:
But, can you make in Fabrik textarea element (maybe in other elements to) little change (additional option) to insert some HTML for <textarea somecode="somecode"> ? In my case i put the code:
into this field and not need ReReplacer. Can you undrstand what i mean?
Code:
<textarea class="fabrikinput inputbox" name="arvuta_taehti___textarea2"
Code:
<textarea class="fabrikinput inputbox" name="arvuta_taehti___textarea2" onkeyup="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);" onkeydown="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);" onmouseout="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);"
Code:
onkeyup="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);" onkeydown="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);" onmouseout="CheckFieldLength(arvuta_taehti___textarea2, 'charcount', 'remaining', 20);"