adding validation to survey form
check tab content for errors