Closed (fixed)
Project:
Field Validation
Version:
7.x-1.0-beta4
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2011 at 19:11 UTC
Updated:
6 Jan 2014 at 15:20 UTC
Jump to comment: Most recent
Comments
Comment #1
g089h515r806 commentedThere are some modules that could display current words, such as Maxlength JS, OR Maxlength JS
Comment #2
Lakeside commentedMaxlength, unfortunately counts characters used: not words.
What I'm looking for is a way to display the number of words used. Ideally it will dovetail with Field Validation. Better yet it's feature that would make Field Validation the module for choice when it comes to limiting word count.
Currently Field Validation informs the user after the fact if they have too many or too few words.
Is there any chance of adding a word count display to the next release of version 7?
Comment #3
g089h515r806 commentedIs it ok that display current number of words in error message? I could provide some context token that could be used in error message.
Comment #4
Lakeside commentedSolution found.
Switched to CKEditor, which comes with a javascript word counter. By default it doesn't update the number of words until clicked on, but you can change that in the plugin's configuration file.
Seems to work fine with field_validation module.
Comment #5
fehin commentedWhat if you don't want to use ckeditor?
I'm using this module to set minimum text length in a field so the max modules won't work for me. I think this should be in the module since users should know how many text they have entered before submitting the form.
Comment #6
g089h515r806 commentedpartly fixed in 2.x, there is a [count] token which could be used on error message.
Comment #6.0
g089h515r806 commentedRevised for clarity.
Comment #7
brandy.brown commentedIs this issue just dead? I'd like to see this feature added as I think it's important for end-users.
Comment #8
jkingsnorth commentedI think g089h515r806 fixes this with #6? A count in the error message is surely enough for the scope of this module?
If someone wants to open a feature request for some JavaScript to display the current word count then fair enough.