2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

iAllow display of a save form

This commit is contained in:
Adam Zammit
2017-03-10 16:05:19 +11:00
parent d6f636035b
commit 7432621bd0

View File

@@ -244,9 +244,9 @@ else
if ($thissurvey['active'] == "Y" && isset($_POST['saveall'])) if ($thissurvey['active'] == "Y" && isset($_POST['saveall']))
{ {
// must do this here to process the POSTed values // must do this here to process the POSTed values
//$moveResult = LimeExpressionManager::JumpTo($_SESSION['step'],false); // by jumping to current step, saves data so far $moveResult = LimeExpressionManager::JumpTo($_SESSION['step'],false); // by jumping to current step, saves data so far
//showsaveform(); // generates a form and exits, awaiting input showsaveform(); // generates a form and exits, awaiting input
if(!tableExists('tokens_'.$surveyid) || $thissurvey['anonymized']=='Y' || (tableExists('tokens_'.$surveyid) && $thissurvey['tokenanswerspersistence'] == 'N' )) if(!tableExists('tokens_'.$surveyid) || $thissurvey['anonymized']=='Y' || (tableExists('tokens_'.$surveyid) && $thissurvey['tokenanswerspersistence'] == 'N' ))
{ {
$moveResult = LimeExpressionManager::JumpTo($_SESSION['step'],false,true,false,false,true); // by jumping to current step, saves data so far $moveResult = LimeExpressionManager::JumpTo($_SESSION['step'],false,true,false,false,true); // by jumping to current step, saves data so far