How to Use Assessment Score to present link to restart survey?

Mehr
1 Woche 3 Tage her #183191 von blocka
COM_KUNENA_MESSAGE_CREATED_NEW
I have a "quiz" type survey, where at the end of the survey, if the participant scores less than a certain value on the assessment score, I'd like to present them with a link to restart the survey from scratch (as a 2nd response).

I gather adding &NEWTEST to the end URL helps with this... I'm looking for what I would write in the end message to evaluate the assessment score and present the survey link to only those who scored under my threshold.

I'm thinking I should be able to do something like:

{IF(assessment_CURRENT_TOTAL) < 80,"Please <a href="
limesurvey.com/index.php/123123?lang=en&...yMDh4bieDw3l&NEWTEST ">click here to take the test again.</a>","")}

Although obviously the above is wrong!

Any suggestions how to accomplish this?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
1 Woche 3 Tage her #183193 von Joffm
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi, I use the following to "link back" to the same survey by:

question type equation "eqURL"
{if(assessment_CURRENT_TOTAL lt 80," www.example.com/survey/index.php/ [same surveyID]?newtest=Y","")}

and in the end-url there is just {eqURL}

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 3 Tage her #183194 von blocka
COM_KUNENA_MESSAGE_REPLIED_NEW
Thanks for the assistance... And since I need to pass the participants token, do I write it like this:

{if(assessment_CURRENT_TOTAL lt 80," www.example.com/survey/index.php/ [same surveyID]?token={TOKEN:TOKEN}&newtest=Y","")}

Or how do I include the participants token in the URL? Pretty sure what I've just suggested won't parse the token into the URL...

Or can I put this in the end URL:

{eqURL}&token={TOKEN:TOKEN}

???

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 3 Tage her #183195 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
you can't have { } within an expression with {}.

Just TOKEN:TOKEN should work.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Woche 3 Tage her #183197 von blocka
COM_KUNENA_MESSAGE_REPLIED_NEW
I've just realized I can put a custom message in the assessment message -- I display a Pass Message to those who score 80+, and a Try Again message for 0-79...

And in the Try Again message, I can use:

<h2>Oh Dear, you didn't quite make the score... Try again?</h2>
<a href=" mysurvey.com/index.php/783834?lang=en&token={TOKEN:TOKEN }">Yes, I'm going try the test again.</a>

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha