validation when click on next question