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

Plus d'informations
il y a 2 mois 1 semaine #183191 par blocka
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?

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 2 mois 1 semaine #183193 par Joffm
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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 1 semaine #183194 par blocka
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}

???

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 1 semaine #183195 par holch
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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 1 semaine #183197 par blocka
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>

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!