- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
getting Custom Token attributes into the response emails to admin.
- ganaffe
- Topic Author
- Offline
- New Member
Less
More
10 years 8 months ago #97692
by ganaffe
getting Custom Token attributes into the response emails to admin. was created by ganaffe
Hey all! I am running 2.0 and I was sad to see that the custom token attributes I set up aren't included in the Full Response email that is sent to the admin upon completion. These contain much needed information about the people taking the survey so I would love to put them in there.
I do see that the template for the detailed admin notification is {ANSWERTABLE}, so I will probably have to modify ANDSWERTABLE accordingly. However, I do see in the limereplacementfields.php file it DOES loop through the tokens in certain cases.
Help? Much appreciated!
I do see that the template for the detailed admin notification is {ANSWERTABLE}, so I will probably have to modify ANDSWERTABLE accordingly. However, I do see in the limereplacementfields.php file it DOES loop through the tokens in certain cases.
Help? Much appreciated!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
10 years 8 months ago #97718
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic getting Custom Token attributes into the response emails to admin.
Hello,
You can use all Expression in email template:
For example.
You can use all Expression in email template:
For example.
Code:
<strong>Token information</strong> <ul> <li>Token: {TOKEN:TOKEN}</li> <li>Surname: {TOKEN:SURNAME}</li> </ul> <p><strong>The important answer</strong> : {QCODE.shown}</p> <strong>Whole answers</strong> {ANSWERTABLE}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- ganaffe
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 years 8 months ago #97730
by ganaffe
Replied by ganaffe on topic getting Custom Token attributes into the response emails to admin.
That was it!! Actually, all I had to do was edit the template and hit the little LIME button on the WYSIWYG and it showed me the options for the attributes!
Thank you for pointing me in the right direction!
Thank you for pointing me in the right direction!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
10 years 8 months ago #97734
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic getting Custom Token attributes into the response emails to admin.
I allways set "HTML editor in pop up"
More easy for me.
More easy for me.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.