added integer validator to factorial form