Feature #5786
Allow multiple answer for same user in survey
Start date:
29/11/2012
Due date:
% Done:
0%
Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?
Description
Hi,
in survey it would be a good thing to add an advanced option to allow multiple answer for same user in survey.
We had several request for this option.
(file survey.lib.php line 524)
History
Updated by Hubert Borderiou about 8 years ago
Some warning if user don't logout/login between each attempt
function store_answer // Make the survey anonymous
if ($survey_data['anonymous'] == 1) {
if (!$_SESSION['surveyuser']) {
$user = md5($user.time());
$_SESSION['surveyuser'] = $user;
} else {
$user = $_SESSION['surveyuser'];
}
}