Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Adding answers to SURVEYURL in Email Template

Adding answers to SURVEYURL in Email Template 1 Jahr 8 Monate her #94247

  • wiz561
  • wiz561s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
Hi!

I'm trying to modify the email template so I can add answers to a question, but keep banging my head against the wall. I know this is possible, I just don't know how to do it. In the E-Mail template I have this...

{SURVEYURL}&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}

But when I receive the URL, it does not add anything additional to the URL HREF tag and only displays after the & as text. I've tried a number of things, and can't get it to work. I tried the 'panel integration' space, but it seems like certain subquestions are in there and not everything.

Does anybody happen to know how I can modify the SURVEYURL parameter without having to write my own script to send the mail out?

Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Adding answers to SURVEYURL in Email Template 1 Jahr 7 Monate her #94267

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4367
  • Dank erhalten: 828
  • Karma: 381
Try this:
{SURVEYURL}?442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Adding answers to SURVEYURL in Email Template 1 Jahr 7 Monate her #94276

  • wiz561
  • wiz561s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
Thank you for the response, but unfortunately, it didn't work....

In my template I tried this...

{SURVEYURL}?442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}

But when I receive the email for the survey, I get this link...

http://surveys.<foo>/limesurvey/index.php?r=survey/index/sid/442976/token/txndjt4mbhztjh3/lang/en

and the text part looks like this... I tried to format it but it turns out OWA does some strange url encode for it.

http://surveys.<foo>/limesurvey/index.php?r=survey/index/sid/442976/token/txndjt4mbhztjh3/lang/en?442976X15X310=CRB&442976X15X311=Site

I would have thought that LimeSurvey would just tack the variables onto the surveyurl, but it isn't. :(

Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Adding answers to SURVEYURL in Email Template 1 Jahr 7 Monate her #94310

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6551
  • Dank erhalten: 869
  • Karma: 257
Hello,
{SURVEYURL}&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}
For survey ling
(change the ? by &)

And for EMAIL:
<a href="%%SURVEYURL%%&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}">%%SURVEYURL%%&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}</a>
Letzte Änderung: 1 Jahr 7 Monate her von DenisChenu.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Adding answers to SURVEYURL in Email Template 1 Jahr 7 Monate her #94326

  • wiz561
  • wiz561s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
Thanks for the response...

I tried as you said, and it still does not work. In the email template of the web page, I did 'view source' and put this in...

<a href="%%SURVEYURL%%&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}">%%SURVEYURL%%&442976X15X310={ATTRIBUTE_3}&442976X15X311={ATTRIBUTE_1}</a><br />

In the mail, it shows this...

%%SURVEYURL%%&442976X15X310=CRB&442976X15X311=Site, and Outlook blocks the URL.

I also tried changing the ? to & and same symptom as before...

http://surveys.<foo>/limesurvey/index.php?r=survey/index/sid/442976/token/txndjt4mbhztjh3/lang/en&442976X15X310=CRB&442976X15X311=Site

is the link that it looks like and it goes to the URL that's everything up to the &.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Adding answers to SURVEYURL in Email Template 9 Monate 4 Wochen her #104260

  • malexan
  • malexans Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
New feature of 1.90:

+New feature: Use @@SURVEYURL@@ in invitation/reminder emails to be able to use it inside an <a href > link (cschmitz)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.294 Sekunden
Donation Image