Skip to content

Commit

Permalink
Fixed issue #9188: Array (Numbers) with Checkbox layout maximum/minim…
Browse files Browse the repository at this point in the history
…um answer validation not working if item was check and unchecked

Dev Unchecked items are now like empty input boxes - this will prevent sporadic 0's from showing in results
  • Loading branch information
c-schmitz committed Sep 10, 2014
1 parent 6f35a0f commit 2fde25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -5616,7 +5616,7 @@ function do_array_multiflexi($ia)
. " if(this.checked) {"
. " aelt.value=1;jelt.value=1;$checkconditionFunction(1,'{$myfname2}',aelt.type);"
. " } else {"
. " aelt.value=0;jelt.value=0;$checkconditionFunction(0,'{$myfname2}',aelt.type);"
. " aelt.value='';jelt.value='';$checkconditionFunction('','{$myfname2}',aelt.type);"
. " }; return true;\" "
// . " onchange=\"checkconditions(this.value, this.name, this.type)\" "
. " />\n";
Expand Down

0 comments on commit 2fde25c

Please sign in to comment.