JonoM\SilverStripeTextTargetLength\TextTargetLengthExtension
Apply this extension to text editing form field such as TextareaField to allow setting of ideal, min and max lengths. These are soft limits only, to give CMS users an idea of target length.
Synopsis
Hierarchy
Extends
- SilverStripe\Core\Extension
Methods
public
- setTargetLength() — Set a target character length for text in a field.