adds validation in survey

Signed-off-by: Vinayak Patil <vinayakpat@cybage.com>