Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.09 KB

readme.md

File metadata and controls

23 lines (18 loc) · 1.09 KB

Codery.TextCount

An Umbraco data type which wraps existing text data type controls and shows text counts and limits while you type.

How to use it

Create a new data type using the 'Text Count' property editor.

Next up, choose your options:

  • Data Type: choose the existing text-based data type that you want to add a counter to (supported types: Textstring, Textarea, RTE, Markdown and Repeatable Textstring).
  • Characters or Word: choose whether the counter should count individual characters or whole words.
  • Limit: set the number of characters or words you want to be the limit (leave empty if there is no limit).
  • Limit Type: choose whether the limit is a warning (but allows users to add more), a hard warning (preventing users to save more than the specified limit) or no limit (the text counter just acts as a guide).

Save it, add it to a document type and your editors will now see the text counter displayed next to the input field.

How to install it

The package can be installed through NuGet:

Install-Package Codery.TextCount