Yes it is working fine and I like the up down arrows in the admin. I was just wondering if it had any magic options in the output that were different to having numerical data in a text field type? I am thinking I might like to take the output and do some basic calculations with it to return the answer I want to display.
I'll add some, but it's basically just
type="number"
. Is that not working for you?Yes it is working fine and I like the up down arrows in the admin. I was just wondering if it had any magic options in the output that were different to having numerical data in a text field type? I am thinking I might like to take the output and do some basic calculations with it to return the answer I want to display.
No, it literally outputs
type="number"
instead oftype="text"
. I think you can also set thestep
attribute. It's nothing clever, very basic.