I'm using a word count validator with custom error message. The [count] token is not replaced in clientside validation message.
I tired to make a patch to solve this. This is my first patch here...

CommentFileSizeAuthor
count_token_support.patch765 bytesZsuffa Dávid
tokens.png35.7 KBZsuffa Dávid
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Donit’s picture

Thanks, zsuffad. Your patch works fine. Since there are other tokens like [min] or [max] this should be included in a stable release.