<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10053</bug_id>
          
          <creation_ts>2010-06-30 02:41:03 +0000</creation_ts>
          <short_desc>how about minlength? i&apos;d like to see certain fields to have a minimum amoung of characters for validation</short_desc>
          <delta_ts>2014-04-20 05:01:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://www.w3.org/Bugs/Public/show_bug.cgi?id=19047</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2013 Q4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mathias</cc>
    
    <cc>MattN+w3</cc>
    
    <cc>mike</cc>
    
    <cc>mounir</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36497</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-06-30 02:41:03 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#the-maxlength-attribute

Comment:
how about minlength? i&apos;d like to see certain fields to have a minimum amoung
of characters for validation

Posted from: 209.99.13.239</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38091</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-28 04:48:30 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: Maybe one day. Let&apos;s let the browsers catch up first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38810</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-10 09:39:49 +0000</bug_when>
    <thetext>*** Bug 10308 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44774</commentid>
    <comment_count>3</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2011-01-26 20:56:51 +0000</bug_when>
    <thetext>*** Bug 11870 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44783</commentid>
    <comment_count>4</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-01-27 01:02:51 +0000</bug_when>
    <thetext>Note that minlength=&quot;n&quot; is equivalent to pattern=&quot;.{n}&quot;.  Not clear if it&apos;s common enough to really need special handling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44804</commentid>
    <comment_count>5</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2011-01-27 15:25:48 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Note that minlength=&quot;n&quot; is equivalent to pattern=&quot;.{n}&quot;.  Not clear if it&apos;s
&gt; common enough to really need special handling.

No, minlength=&quot;n&quot; isn&apos;t equivalent too pattern=&quot;.{n}&quot;. @pattern should only be used for specific cases given that it removes all semantic.

In addition of passwords fields that require a minimum length (I guess that would be the primary use case), minlength could be used for field that require a specific length in association with maxlength (with maxlength and minlength having the same value).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76793</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-19 23:05:35 +0000</bug_when>
    <thetext>*** Bug 16936 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82037</commentid>
    <comment_count>7</comment_count>
    <who name="">public-rdfa-wg</who>
    <bug_when>2013-01-24 06:51:55 +0000</bug_when>
    <thetext>This bug was cloned to create HTML WG bug 19047.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88413</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-05-29 23:53:14 +0000</bug_when>
    <thetext>Bug 15291 suggests there&apos;s a lot of demand for this, relatively speaking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94242</commentid>
    <comment_count>9</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-10-03 18:22:12 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8206.
Check-in comment: Add minlength=&apos;&apos;, since data shows people are using pattern=&apos;&apos; to work around the absence of this feature.
http://html5.org/tools/web-apps-tracker?from=8205&amp;to=8206</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>