<?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>19047</bug_id>
          
          <creation_ts>2012-09-25 21:59:51 +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>2013-03-11 16:46:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-maxlength-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>mounir</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>74501</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-09-25 21:59:51 +0000</bug_when>
    <thetext>This was was cloned from bug 10053 as part of operation LATER convergence.
Originally filed: 2010-06-30 02:41:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2010-06-30 02:41:03 +0000 
--------------------------------------------------------------------------------
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
================================================================================
 #1   Ian &apos;Hixie&apos; Hickson                             2010-08-28 04:48:30 +0000 
--------------------------------------------------------------------------------
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.
================================================================================
 #2   Ian &apos;Hixie&apos; Hickson                             2010-09-10 09:39:49 +0000 
--------------------------------------------------------------------------------
*** Bug 10308 has been marked as a duplicate of this bug. ***
================================================================================
 #3   Mounir Lamouri                                  2011-01-26 20:56:51 +0000 
--------------------------------------------------------------------------------
*** Bug 11870 has been marked as a duplicate of this bug. ***
================================================================================
 #4   Aryeh Gregor                                    2011-01-27 01:02:51 +0000 
--------------------------------------------------------------------------------
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.
================================================================================
 #5   Mounir Lamouri                                  2011-01-27 15:25:48 +0000 
--------------------------------------------------------------------------------
(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>84251</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-03-11 16:46:27 +0000</bug_when>
    <thetext>*** Bug 18140 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>