add non js and js validation for question and choice