[whatwg] Something for the end-user?? -errata

Dean Edwards dean at edwards.name
Fri Jun 18 18:35:45 PDT 2004


Dean Edwards wrote:
> further, i suggest that this attribute ("format" for now) be applied to 
> the output element. use case:
> 
> <input type="number" name="cost" format="$%02.2d"/>
> <input type="number" name="amount" format="%d"/> // :-)
> <input type="number" name="total" format="$%02.2d"/>
> 

this should read:

<input type="number" name="cost" format="$%02.2d"/>
<input type="number" name="amount" format="%d"/> // :-)
<output type="number" name="total" format="$%02.2d"/>

dah.

-dean






More information about the whatwg mailing list