Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Remaining characters in comment / discussion
fysicsluvr
New
It seems like it doesn't tell you you've gone over the character limit until it's too late and you've clicked 'start your discussion', or 'add your comments'.
someone should make an extension that has the # of remaining chars toward the bottom right corner of the textbox.
http://lussumo.com/community/discussion/7833/offlimits-number-caracter-in-discussions/#Item_8
someone should make an extension that has the # of remaining chars toward the bottom right corner of the textbox.
0
This discussion has been closed.
Comments
It still doesn't prohibit the user from clicking on the Submit button. But, at least the user is warned that he has exceeded the maximum. I'm still looking into how to control the Submit button.
If you want to try it, whisper me your email and I'll send it to you.
Window.onload = function() { document.getElementById('CommentBox').onkeyup = function(event) { // Code for comment counter goes here }; };
i'm not fluent in php OR js, but this might work