Ticket #1214 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 5 years ago

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

Change History

Changed 5 years ago by gogo

  • status changed from new to closed
  • resolution set to wontfix

This is something you probably should do on the server end. But you could probably make a new plugin for yourself based on CharCounter. Outside the scope though.

Note: See TracTickets for help on using tickets.