Skip to content

Commit

Permalink
New Feature Allow Regular-Expression validation of question type 'Q' …
Browse files Browse the repository at this point in the history
…(Multiple Short Text)

Dev this feature needed to properly test issue #05639

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@11963 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
TMSWhite committed Jan 9, 2012
1 parent fcfd34c commit e55b1e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions admin/questionhandling.php
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,12 @@ function questionjavascript($type)
. "document.getElementById('OtherSelection').style.display ='none';\n"
. "document.getElementById('MandatorySelection').style.display='none';\n"
. "}\n"
. "\telse if (QuestionType == 'Q')\n"
. "{\n"
. "document.getElementById('Validation').style.display = '';\n"
. "document.getElementById('OtherSelection').style.display ='none';\n"
. "document.getElementById('MandatorySelection').style.display='';\n"
. "}\n"
. "\telse\n"
. "{\n"
. "document.getElementById('OtherSelection').style.display = 'none';\n"
Expand Down

0 comments on commit e55b1e3

Please sign in to comment.