Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ParTech/LimitedText-Field-Controls
https://github.com/ParTech/LimitedText-Field-Controls
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ParTech/LimitedText-Field-Controls
- Owner: ParTech
- License: apache-2.0
- Created: 2013-03-29T16:41:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-16T15:34:15.000Z (about 10 years ago)
- Last Synced: 2024-03-27T01:58:28.860Z (8 months ago)
- Language: C#
- Size: 2.26 MB
- Stars: 3
- Watchers: 8
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- Awesome-Sitecore - LimitedText Field - Adds two new field types to the Sitecore Content Editor, Single-Line Text Limited and Multi-Line Text Limited. Both inherit all functionality from the existing text field controls and add the possibility to configure a maximum allowed value for the field, also inform the user of the number of remaining characters while they are editing. (Fields)
README
LimitedText Field Controls
==========================Description
-----------
This module adds two new field types to the Sitecore Content Editor, *Single-Line Text Limited* and *Multi-Line Text Limited*.
Both controls inherit all functionality from the existing text field controls and add the posibility to configure a maximum allowed value for the field.
The fields inform the user of the number of remaining characters while they are editing.This comes in extremely handy for field containing a Browser Title or Meta Description, because their length should be kept within the limits of what Google displays in their search results.
References
------------
Blog: http://www.partechit.nl/nl/blog/2013/03/text-fields-with-limited-length-and-feedback-during-editing
GitHub: https://github.com/ParTech/LimitedText-Field-ControlsInstallation
------------
The Sitecore package *\Release\ParTech.Modules.LimitedTextFields-1.0.2.zip* contains:
- Binary (release build).
- Configuration include file.
- Core items that install two new field types.Use the Sitecore Installation Wizard to install the package.
After installation, the new field types will be immediately ready for useRelease notes
-------------
*1.0.0*
- Initial release.*1.0.1*
- Added configuration setting that defines the JavaScript keycodes of keys that are allowed to be used when the maximum number of characters has been reached.
- Added tab, shift, control and alt keys to default list of allowed keycodes.
- Fixed a bug that allowed pasting content using the mouse even when the maximum number of characters was reached.*1.0.2*
- Fixed a bug that placed the cursor at the end of the field on all key down/up events.
- Fixed a bug that disallowed keys to be pressed when ctrl is pressed (so ctrl+x, etc. does now work when the text field is full).
- Added home, end and escape keys to default allowed keys.
- Renamed the assembly and namespace to match that of other ParTech modules.
**Important:** Make sure to re-install the entire module with the installation package if you are already using an older version!Author
------
This solution was brought to you and supported by Ruud van Falier, ParTech ITTwitter: @BrruuD / @ParTechIT
E-mail: [email protected]
Web: http://www.partechit.nl