fixing validations on form

added number validation