add step attribute to form input
catch ValueError