Project

General

Profile

Feature #5786

Allow multiple answer for same user in survey

Added by Hubert Borderiou over 6 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Survey
Target version:
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

#1

Updated by Hubert Borderiou over 6 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'];
}
}

#2

Updated by Yannick Warnier about 3 years ago

  • Target version changed from 2.0 to 3.0

Also available in: Atom PDF