Validation for numerical fields

For example:


If I select "currency" as the field type and there are letters in this field, it should prompt user with an error.