7 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
- Initial release.

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

- Fixed RTE initialisation bug.

- Fixed directive order bug on older versions of Firefox.

- Fixed conflicting package dependencies.

- Added Dutch translations.

- Fixed bugs when using it with an RTE data type.

- Added Umbraco v8.1 compatibility.

- Fix for RTE editors in Umbraco 8.2.x.

- Fix for RTE editors in Umbraco 8.4.x.

- Fix to return correct property type in PropertyValueConverter.

- Change to store wrapped data type's GUID for better Umbraco Deploy compatibility.

- Fixed bug with repeatable textstring property editor.


Archived files


Source code

 Download package
version 2.1.1

NuGet install instructions for Umbraco 7.4.0-8.18.9

Install-Package Codery.TextCount

Package owner

Tom van Enckevort

Tom van Enckevort

Tom has 429 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (0%)

You must login before you can report on package compatibility.

Previously reported to work on versions: 8.13.x, 7.6.x, 7.5.x

Package Information

  • Package owner: Tom van Enckevort
  • Created: 18/03/2017
  • Current version 2.1.1
  • .NET version 4.7.2
  • License MIT
  • Downloads on Our: 1.9K
  • Downloads on NuGet: 43.4K
  • Total downloads : 45.3K

External resources