Custom <Answer Table> for Notification Email

More
4 years 8 months ago #91862 by dweisser
dweisser created the topic: Custom <Answer Table> for Notification Email
Hello all,
I have read the posts about changing the core .php files to accomplish this task. I don't want to go that direction because first, I'm not a coder and second, an update will wipe the newfangled code.

I would like to be able to print the question's text as well as their answer text to an html formatted email. As is immediately apparent, INSERTANS gets me half way there.

Upon further reflection, I've come to think that current Lime architecture allows me to accomplish this task by:

1) designing a survey,
2) creating hidden textdisplay questions whose answers are equal to the survey's respondent-facing questions, and
3) using INSERTANS to both insert the Question Text (as stored in the hidden answers) and the respondent's Answers into the email notification and formatting appropriately.

Obviously this is a lot of work and a lot to keep organized. I was hoping some Limey out there had a better solution.

Thanks for your attention,
Nebraska D

Please Log in to join the conversation.

More
4 years 8 months ago #91897 by DenisChenu
DenisChenu replied the topic: Custom <Answer Table> for Notification Email
You can use all Expression Manager system in email.
Then all is already here.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 8 months ago #91917 by dweisser
dweisser replied the topic: Custom <Answer Table> for Notification Email
Ahh, great news that Expression Manager can accomplish this, but despite having read through all the documentation - I don't see how to get the question's text into the email.

Any chance you might describe a short example? In any case, I thank you for your time and attention.
David

Please Log in to join the conversation.

More
4 years 8 months ago #91925 by DenisChenu
DenisChenu replied the topic: Custom <Answer Table> for Notification Email
Qcode.question : the text of the question

docs.limesurvey.org/Expression+Manager#Access_to_Variables

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 8 months ago - 4 years 8 months ago #91932 by dweisser
dweisser replied the topic: Custom <Answer Table> for Notification Email
I thank you. I saw this.
I was still doing something wrong.

I did not have unique qcodes in my survey. Duplicate qcodes cause a syntax error in the email.


So I have Questions and Answer - I still fail to see where the Group's text is stored.
Thanks for sticking with me. :-)
David
Last Edit: 4 years 8 months ago by dweisser.

Please Log in to join the conversation.

More
4 years 8 months ago #91951 by DenisChenu
DenisChenu replied the topic: Custom <Answer Table> for Notification Email
No group text with EM.

To help you, need to know exactly what you do and what is exactly your problem.

Here, you don't explain what you put on mail, maybe a lss file with some try is a best idea.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now