Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

4 votes

Text Count

TextCount is a 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 recommended way to install this package is through NuGet:
Install-Package Codery.TextCount

But you can also download the package ZIP file and install it through the CMS package manager.

Release notes
v1.0.7
- Initial release.

v1.0.8
- Retargeted to .NET v4.5 for wider compatibility.

v1.0.9
- Fixed RTE initialisation bug.

v1.0.10
- Fixed directive order bug on older versions of Firefox.

Screenshots

Project owner

Tom van Enckevort

Tom van Enckevort

Tom has 217 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
7.7.x (untested)
7.6.x (100%)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Tom van Enckevort
  • Created: 18/03/2017
  • Current version 1.0.10
  • .net Version 4.5
  • License MIT
  • Downloads: 305

External resources