This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23270 - there should be a pattern type for 'number;. all i see is pattern for text,email,tel if i want to put a 'number' in like dd/mm/yy i can specify the pattern
Summary: there should be a pattern type for 'number;. all i see is pattern for text,em...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: 2014 Q4
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 04:48 UTC by contributor
Modified: 2013-10-03 20:16 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-09-18 04:48:53 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html
Multipage: http://www.whatwg.org/C#the-pattern-attribute
Complete: http://www.whatwg.org/c#the-pattern-attribute
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html

Comment:
there should be a pattern type for 'number;. all i see is pattern for
text,email,tel if i want to put a 'number' in like dd/mm/yy i can specify the
pattern

Posted from: 122.166.8.45
User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2013-09-23 20:15:01 UTC
What pattern would you put in? "/" is not a valid character in a number...