validations added to question and reply