The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › HTML5 Input Types for Credit Card Numbers? › Reply To: HTML5 Input Types for Credit Card Numbers?
Definitely type=text with the pattern as @traq suggested. I’ve made this mistake before too. It can do awkward stuff like add commas into the number on blur in some browsers.