Add support for step for any number field

For a number field that is representing a floating point number, the step
needs to be set to a value smaller than 1 or to "any", otherwise the browser
will reject any decimal places.