diff --git a/admin/html.php b/admin/html.php index c47eaff0afb..99d4cea03bf 100644 --- a/admin/html.php +++ b/admin/html.php @@ -390,7 +390,7 @@ $newquestion .= "\t\tdocument.getElementById('OtherSelection').style.display = 'none';\n"; $newquestion .= "\t\tdocument.addnewquestion.other[1].checked = true;\n"; $newquestion .= "\t\t}\n"; - $newquestion .= "\tif (QuestionType == 'S' || QuestionType == 'T')\n"; + $newquestion .= "\tif (QuestionType == 'S' || QuestionType == 'T' || QuestionType == '')\n"; $newquestion .= "\t\t{\n"; $newquestion .= "\t\tdocument.getElementById('MandatorySelection').style.display = 'none';\n"; $newquestion .= "\t\tdocument.editquestion.mandatory[1].checked=true;\n";