input field proper type and correct zero with decimal validation