adding client side validation on user questionnare form submit