Earlier I had a user complaining that the length limits on my forms were awkward; this isn't just because there is a limit, but because it is hard to know where the limit is once you have typed too much.
This problem can be solved by having the validation checked onKeyUp so that as soon as the user types too much the warning appears. I did this manually adding onKeyUp="validate_termreview_teacher_form_comments(this)" to the attributes string. Would it not be beneficial for this to be default behaviour?
Mike
General developer forum
Why do textareas not check length as user types?
This discussion has been locked so you can no longer reply to it.