You don't have to do anything extra. If the field on the form is bound to a numeric data type on the backing bean, the validation is done for you. If you type a character in the field you will get a conversion error message. Something like this: Specified value is not a valid number. Hope this helps.