- Posts: 74
- Thank you received: 26
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Expression Manager code to print page
- coeneisma
- Topic Author
- Offline
- Senior Member
Less
More
9 years 3 months ago #115787
by coeneisma
Expression Manager code to print page was created by coeneisma
Hi all,
Small question: is there EM-code which can be used on the end-page to make a html-link to the print page? Something like
Thanks in advance, Coen
Small question: is there EM-code which can be used on the end-page to make a html-link to the print page? Something like
Code:
<a href="@@printpage@@">Click here to print your answers</a>
Thanks in advance, Coen
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
9 years 3 months ago #115794
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Expression Manager code to print page
Not an expression but a
placeholder
to insert dynamically the survey ID ( {SID} )
So you can use html code like:
Remember:
1) Works only for the final completed page (not during the survey)
2) turn on the survey option "Participants may print their answers" (btw this setting controls the default print link display)
So you can use html code like:
Code:
<a class='printlink' href='index.php/printanswers/view/surveyid/{SID}' target='_blank'>Print your answers.</a>
Remember:
1) Works only for the final completed page (not during the survey)
2) turn on the survey option "Participants may print their answers" (btw this setting controls the default print link display)
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: coeneisma
The topic has been locked.
- coeneisma
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 74
- Thank you received: 26
9 years 3 months ago - 9 years 3 months ago #115795
by coeneisma
Replied by coeneisma on topic Expression Manager code to print page
Great, tanx for the answer!
Last edit: 9 years 3 months ago by coeneisma.
The topic has been locked.