The module adds a possibility to define a character/word limit to textarea inputs in Processwire. It will show a live count when editing these fields.
Just drop the files TextareaCounter.module and TextareaCounter.js in a folder called TextareaCounter in your site's modules directory. Install from the backend as you're used to.
To use it with a specific Textarea input field, edit the desired input in the backend and add a limit for characters and/or words. You should be ready to go.
Most of the code was helpfully provided by Soma in the Processwire forums. juagarc4 helped making it useable inside repeater fields. Martijn added the truncation option.
- Proper documentation
- An expansion to bring this functionality to flat text inputs as well.