tyring to validate form