improve form submit and clear  for  questionare code