Hello everyone
I need help, i hope you can tell me how to resolve this
(Excuse my english)
I have one survey and tokens to entry to the survey multiple times editing index.php like this:
Editt funcion submittokens() and replace lines:
_________________________________________________________________________
if (bIsTokenCompletedDatestamped($thissurvey))
{
$utquery .= "SET completed='$today'\n";
}
}
else
{
$utquery .= "SET completed='Y'\n";
/////////////////////////////////////////////////////////////////////
By this lines:
if (bIsTokenCompletedDatestamped($thissurvey))
{
//multiple token only for survey 71314
if ($surveyid == '71314') {
$utquery .= "SET completed='N'\n";
}else {
$utquery .= "SET completed='$today'\n";
}
}
else
{
//$utquery .= "SET completed='Y'\n";
*************************************************************************
only i have to change the id survey
Everythig its fine to this point
But i have created another survey, and i will create more, how can i edit this code for multiple responses with one token?
how can i add more id surveys in the function so i can use the token multiple times?
I hope you could understand me i help me with this