Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
count_token_support.patch | 765 bytes | Zsuffa Dávid | |
tokens.png | 35.7 KB | Zsuffa Dávid |
Comments
Comment #1
Donit CreditAttribution: Donit commentedThanks, zsuffad. Your patch works fine. Since there are other tokens like [min] or [max] this should be included in a stable release.