Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Texte field counter with colors

Security covered Under active development 21 sites

This module adds character counters with color-coded feedback to text fields, indicating optimal, suboptimal, and excessive lengths. It offers simple and complex widget configurations to set recommended lengths, warning thresholds, and maximum input limits.

Module summary

Like textfield_counter module, this add new widgets for text fields elements.

There is 2 types of widgets : simple & complex

General information of widgets

They add a information of :
- how many character has set
- how many character the field can accepte
- a color indication of "the recomanded amont of characters"

They provide 3 levels of information :
- Green : Optimal Length
- Orange : Suboptimal Length
- Red : Length not optimized

Simple widgets

simple widgets use 3 settings :
- recommanded size (nb char)
- Lower margin (%) : when the counter turn to warning (orange). Defined by "recommanded size - x%"
- Lock input (%) : Defined the field max size (not working with wysiwyg) when the input are blocked. Defined by "recommanded size + x%"

The counter is :
- green from 0 char to "lower margin"
- orange from the lower to the recommanded size
- red after the recommanded size

Complex widgets

The configuration are more "complex"
You need to complete a "table" with 3 row where you choose per row :
- the color
- le lower limit
- the upper limit.

By default the first value are "empty field", and the last value are "field max size"

Applicable Field types

The field types that this module works on are:

Text (formatted)
Text (formatted, long)
Text (formatted, long, with summary)
Text (plain)
Text (plain, long)
Links (provide label limitation)

Drupal 8–11

Ask your assistant about Texte field counter with colors

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.1.4 Stable 8–11 Sep 4, 2024
1.1.3 Stable 8–11 Mar 26, 2024
1.1.2 Stable 8–10 May 15, 2023