Skip to content

Commit

Permalink
Fix issue 04949: Checkbox labels are not clicable
Browse files Browse the repository at this point in the history
Dev Correct "for" attribute of checkbox labels

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9776 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tony Partner committed Feb 11, 2011
1 parent 589ca51 commit d2901d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/dataentry.php
Expand Up @@ -2172,7 +2172,7 @@ function saveshow(value)
}
$dataentryoutput .= "\t<input type='checkbox' class='checkboxbtn' name='$fieldname{$mearow['title']}' id='answer$fieldname{$mearow['title']}' value='Y'";
//if ($mearow['default_value'] == "Y") {$dataentryoutput .= " checked";}
$dataentryoutput .= " /><label for='$fieldname{$mearow['title']}'>{$mearow['question']}</label><br />\n";
$dataentryoutput .= " /><label for='answer$fieldname{$mearow['title']}'>{$mearow['question']}</label><br />\n";
$upto++;
}
if ($deqrow['other'] == "Y")
Expand Down

0 comments on commit d2901d1

Please sign in to comment.