using minlength on a form element

RESOLVED FIXED

Status

Developer Documentation
HTML
P5
normal
RESOLVED FIXED
4 months ago
21 days ago

People

(Reporter: John Deighan, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

4 months ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

This page mentions using the maxlength attribute for validation, but omits the minlength attribute. A web search told me that minlength is only valid for HTML 5 while, apparently, maxlength existed before that. Perhaps that restriction should be mentioned, but minlength is immensely useful - think password length or minimum length of some kinds of descriptions or error messages. I think this page should include it.

Comment 1

21 days ago
Seems to have been fixed:
https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Form_validation$compare?to=1310417&from=1295765
Status: UNCONFIRMED → RESOLVED
Last Resolved: 21 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.