I've updated this filter, it's a lot smarter now and now only targets actual <input> fields.
Since sometimes a script checks if you do not exceed the maxlength, I've included the old maxlength in a title -- this way the maxlength value will be reported to you when you hover the mouse over it, either in a pop-up box or in the status bar (browser and settings-dependant). It now also uses the $AV method, to get it to work with quoted values.
Name = "Remove length limit in input fields"
Active = TRUE
Bounds = "<input*>"
Limit = 1024
Match = "1 maxlength=$AV(*2) 3"
Replace = "1 title="maxlength: 2" 3"
Note: this is a newer version of this filter than the one included in my complete filter set.
Edited by - Jor on 07 Apr 2002 16:17:13
Current version of this filter:
[Patterns]
Name = "Remove length limit in input fields"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)"
Bounds = "<inputs*>"
Limit = 1024
Match = "1 maxlength=$AV(*2) 3"
Replace = "1 title="maxlength: 2" 3"
The former maxlength value is put in the title, so it should show up in your browser's status bar when you hover the mouse over it, or as a pop-up.
Edited by - Jor on 18 Jun 2002 15:44:45