About Textarea Counter

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.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Input Fields
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Category 3SEO/Accessibility
Modules designed to help site accessibility, standards compliance and SEO.
Release StateAlpha
Non-stable. Not yet intended for use in production environments. *
Authorboundaryfunctions
Module Version1.0.3
Class NameTextareaCounter
Compatibility2.2, 2.3, 2.4
Date AddedApril 17, 2013
Last UpdatedNovember 10, 2014
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

Installation
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 usual.

Usage
To use it with a specific Textarea input field, edit the options "Max. words" and/ord "Max characters" in the "Input" tab of the desired input field in the backend.

README

Textarea Counter for Processwire

What it does

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.

Installation

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.

How to use it

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.

Credit

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.

Still missing

  • Proper documentation
  • An expansion to bring this functionality to flat text inputs as well.

Comments

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.