[Bug 12988] I'm a bit in trouble on what type to apply for zip- postcodes. I would use type=number, but then I cant use the maxlenght attribute. While using type=text there are no max min attributes. No matter what type I choose, none of them works for zip- postcodes

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12988

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jackalmage@gmail.com
         Resolution|                            |WORKSFORME

--- Comment #1 from Tab Atkins Jr. <jackalmage@gmail.com> 2011-06-18 16:47:29 UTC ---
Use <input type=text pattern="\d{5}(-\d{4})?">.

I'll close this bug as WORKSFORME - please reopen if you feel your problem
isn't addressed.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 18 June 2011 16:47:35 UTC