A Statamic fieldtype to count and/or limit character input. Excellent for use with meta tags.
- 0.1.2 - We need the previously entered value, silly. Also classes can't start with numbers. That's so bogus.
- 0.1.1 - Ensure ID's don't start with numbers
- 0.1.0 - Initial release
Copy the count_and_limit
folder to the _add_ons
folder of your Statamic website.
In your desired fieldset, give the field a type of count_and_limit
// meta-data.yaml
fields:
seo_title:
type: count_and_limit
count: true
limit: 44
display: SEO Title
count
: (Boolean) Do you want to display the character count?limit
: (Integer) The number of charaters to limit input todisplay
: (String) The label of the field
This plugin follows Semantic Versioning
12 Stars Media, © 2015