Add validation to appointment form