Input value validation in a form (integer, float, ....)