Good Day!
I've been trying to figure out how to alter the PHP codes in statistics_function.php so that in the statistics view the 'Browse' button would be gone and the answers would already be listed in HTML.
also to put/list the comment/answers in PDF and EXCEL already instead of having the output
Answer 100%
No Answer 0%
Thanks it would be a big help since i've been encountering server errors everytime i change the codes.
codes concerned below. i cant seem to attach the file.
//"Answers" means that we show an option to list answer to "other" text field
elseif ($al[0] === $statlang->gT("Other") || $al[0] === "Answers" || ($qtype === "O" && $al[0] === $statlang->gT("Comments")) || $qtype === "P")
{
if ($qtype == "P" ) $ColumnName_RM = $al[2]."comment";
else $ColumnName_RM = $al[2];
if ($qtype=='O') {
$TotalCompleted -=$row[0];
}
$fname="$al[1]";
if ($browse===true) $fname .= " <input type='button' value='".$statlang->gT("Browse")."' onclick=\"window.open('admin.php?action=listcolumn&sid={$surveyid}&column={$ColumnName_RM}', 'results', 'width=460, height=500, left=50, top=50, resizable=yes, scrollbars=yes, menubar=no, status=no, location=no, toolbar=no')\" />";
}