add "required" in float/int/string validator