Hi all,
I was thinking about content strategy and helping my clients write content of the right length and thought a text field where you could set a min, max and target character or word count could be useful. It could look something like this:
You often see a maximum length constraint on content but to me it's much more important to consider the ideal length.
I'm imagining you could set the tolerance on this field, so perhaps by default if you're within 10% of the target count you get the green light, but you could make it more or less strict.
I'm thinking this could start out as a module, but might be worth rolling in to core if it proves really useful. It could simply be an addition to TextareaField, activated through ->setConfig() similar to the way you can add a calendar widget to a DateField.
What do you all think? Is there anything like this out there already for SilverStripe, or form fields in general? I experienced content length hinting like this somewhere online once but can't recall where. If anyone has seen a jQuery plugin that already does this well or other relevant examples please point me in the right direction - I've seen lots of character limit plugins but nothing exactly like this so far.
p.s. (shameless plug) if you care about content, have a quick peek at
Share Care, a little open graph add-on I released recently.