Ticket #1214 (closed enhancement: wontfix)
Setting a limit to the "number of Words" entered
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | charcounter wordcount |
| Cc: |
Description
Hello Everyone,
I am working on a project where I need to set a limit to the maximum number of Words [not chars].
-->> If the number of words is below 250, It should throw an error saying that the number of words is less. -->> If the words are above 2000, it should throw an error saying that the number of words is above the limit.
I am using CharCounter.js plugin to show me the number of Words. But I was wondering how to find out the 'number' of Words entered and then set a limit to 2000 words.
-->>> If it goes above the limit, it shouldnt allow the user to type more words.
I looked at the forum but it mainly talks about how to make the CharCounter plugin work. I dont want to make any changes with the plugin [Because I know that the 'number' of words is set in a variable called '_Words']
is there any other possibility to find and set the limit?
Thanks in advance.
Best Regards, Meenakshi
