November 11, 2013 at 11:38 pm 9958
|MDelcour||I need to set a word count limit for the excerpt so users can't type more than 40 words in the excerpt. Do I need to create a new custom text area type that can be used in addition to 'Normal,' 'Rich' and 'Teeny Rich'?|
November 12, 2013 at 12:08 am 9959
This kind of functionalities doesn’t work in rich or teeny textareas, but works fine in normal textarea. Take a look at this tutorial achieving this.
November 12, 2013 at 1:49 am 9970
Perfect. I’m going to try this out; I’ll report back with results. Thanks.
November 13, 2013 at 6:02 am 10019
Ok, I’m back and that worked perfectly. I took it a step farther and added a character count in the help text by adding a line to the example jQuery. Now, in addition to the character limit, user see how many characters they have left. feel free to add this to the example doc as it is already very useful.
April 14, 2015 at 3:29 pm 41320
You’re a LEGEND!! Great solution