Closed (duplicate)
Project:
MaxLength
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2008 at 21:10 UTC
Updated:
27 Oct 2015 at 20:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alonpeer commentedI'm going to try and implement this for version 6.x.
Comment #2
alonpeer commentedAttached patch adds the words count ability. Here are a few pointers:
Please review my code.
Comment #3
dawehnermh i'm not happy that you created a patch to version1, there are quite a lot of missing features in the first version.
so develop the patch against 6-2.x
so i set it to needs work
i don't like
But i like the feature.
Comment #4
fletch11 commentedIt would be really great to see this feature in the future. Thanks for the work.
Comment #5
batje commentedThis patch was not working. I got a new one coming up that implements that feature.
Comment #6
dawehnerMostly minor.
Alert is not very userfriendly. Couldn't there be a message above/below the textarea?
MINOR: Whitespace
Test Output? Or not translatable :)
I would use here @ as placeholder, because it does the check_plain.
I'm on crack. Are you, too?
Comment #7
timbit commentedI decided to build my own patch for this. This is my first time working with drupal, and also my first ever contribution to the open source community. Any feedback you could offer is appreciated.
The attached patch implements the following:
Comment #8
dawehnerdefines should have the modulename as prefix
@ is better than !. Yes this is a problem in the module everywhere :)
Comments would be cool
I'm on crack. Are you, too?
Comment #9
andrewmacpherson commentedIn the meantime, the CCK Word Count module provides this functionality. It works for CCK Textfields and Textareas, but not for the node body.
Comment #10
giorgio79 commentedLets focus on maxlength.
CCK Word count should join forces here
#564024: Similar module: Could this be merged into maxlength module?
In addition to Word Count modules as well
#963996: Merge into maxlength
Comment #11
andrewmacpherson commentedThe CCK Word/Character Count module, released recently, offers this functionality.
Comment #12
mariagwyn commentedIs this feature still in discussion? In particular, for the d7 release? CCK Word/Character does not have a d7 release yet.
Comment #13
dawehnernot really sure why you wrote this comment. If noone posted something on the issue nothing happened probably.
Comment #14
mariagwyn commentedbecause I was curious if, somewhere that I haven't found, someone had responded to your patch, or to find out if you had given it any further thought that didn't get posted, etc. I realize it is old. would you rather I started a new comment?
Comment #15
GemVinny commented@mariagwyn I know oyu wrote your comment a fair while ago but I don't suppose you found a D7 solution?
thanks in advance
gem
Comment #16
cafuego commentedI'm hijacking this issue for a D7 WordCount feature, since nothing has happened on the D6 version of MaxLength for some years now.
Attached patch adds a Count words instead of characters checkbox to the field settings. If enabled, the JS counts words instead of characters. I've only tested that with WYSIWYG/TinyMCE sofar and it seems to mostly work.
Comment #17
cafuego commentedForgot to bump status.
Comment #18
cafuego commentedActually, marking this a duplicate of #1496570: Word Counter for D7.
Comment #19
joshuautley commentedThis module is an alternative if you are using EntityForms...
https://www.drupal.org/project/field_validation