.find is being used incorrectly, as far as I can tell, so never sets that it found that element.

To reproduce
1) Set of maxlength on field and use !count
2) Enter text into that field on a form

Currently the text stats at 0 whatever is typed.

CommentFileSizeAuthor
#1 1252930_maxlength_count_1.patch769 byteshefox
maxlength_count.patch15.39 KBhefox

Comments

hefox’s picture

StatusFileSize
new769 bytes

Ignore first patch

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Please commit it you are a maintainer as well.

l_o_l’s picture

Patch works perfectly for me. Thank you !
I am using 6.x-2.0-beta2
Maybe its also solved in the dev versions ? I did not check.

hefox’s picture

Status: Reviewed & tested by the community » Fixed

Commited.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Adding steps to reproduce