experience/overflow

This package is abandoned and no longer maintained. No replacement package was suggested.

A plain text field with a soft or hard character limit

2.0.0 2018-08-30 23:29 UTC

This package is auto-updated.

Last update: 2021-11-03 19:31:55 UTC


README

Overflow is a plain text Craft field type, with a soft or hard character limit. It's perfect for things such as metadata titles and descriptions, which have an "ideal" length, but not an absolute limit.

Overflow will gently inform your content authors when they exceed a soft character limit, but will still allow the entry to be saved.

Opting for a hard limit causes Overflow to behave exactly like the built-in plain text field.

Requirements

Overflow requires Craft 3.0.0+.

Installation

You can install Overflow via the Craft Plugin Store.

If you're a 1337 hacker, you can also install it via Composer, as follows:

$ cd /path/to/project
$ composer require experience/overflow

Field configuration

Overflow adds a new "Enforce character limit" checkbox to the plain text field settings.

Check the box to enforce the character limit (the standard plain text field behaviour). Leave the box unchecked for a soft character limit.