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

v1.0.11
- Fixed conflicting package dependencies.

v1.0.12
- Added Dutch translations.

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

v2.0.2
- Added Umbraco v8.1 compatibility.

v2.0.3
- Fix for RTE editors in Umbraco 8.2.x.

v2.0.4
- Fix for RTE editors in Umbraco 8.4.x.

v2.0.5
- Fix to return correct property type in PropertyValueConverter.

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

v2.1.1
- Fixed bug with repeatable textstring property editor.

Screenshots

Archived files

Documentation

Source code

 Download package
version 2.1.1

NuGet install instructions for Umbraco 7.4.0-8.18.15

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: 2.1K
  • Downloads on NuGet: 47.7K
  • Total downloads : 49.8K

External resources