Possible Duplicate:
How can I make the HTML5 number field display trailing zeroes?
I'm trying to input a money value like "1.00", but when I enter this value the 0s are removed and it becomes "1", but if I input 1.11, it remains 1.11.
I'm using <input type="number">
. I've tried using patterns but the extra 0s are always deleted. Also this only happens on iPhone with type="number"
Does anyone know how to get around this? Perhaps a way to use type="text", but have the phone open the numeric view?