You *might* be on to something with your idea of using the token attributes. The manual is very cryptic at this point, but in regard to the 3rd table of
token field descriptions it suggests that the token fields could be used "if your survey is NOT anonymous". Try creating one token with ATTRIBUTE_1 value of eg. 'letter1' and one with 'letter2'. Then create a boilerplate question to use that value, eg. "You shall read {TOKEN:ATTRIBUTE_1} before answering the questions". If the placeholder is replaced by the respective ATTRIBUTE_1 values for the two respondents, you may be halfway there.
I'm not much good with Javascript, so I'd test the next step with a variation of the
Alternate exit workaround:
In an 'entry filter' survey, I'd try redirecting respondents to letter1 or letter2 surveys depending on the attribute, something like
| Code: |
if ("{TOKEN:ATTRIBUTE_1}" == "letter1")
{
window.location="http://your.domain/limesurvey/index.php?sid=letter1-sid";
}
|
If that too works (or nearly so, with the value accessible to the script), then you might be able to use the following workaround section for a Custom OnLoad function that does things more elegantly. But I'm out of my depth there - more expert people might have good ideas how to proceed from there.
Regards.