- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Allow user to return to assessment results and/or create pdf from results
- mlyter
- Topic Author
- Offline
- New Member
Less
More
12 years 4 months ago #70825
by mlyter
Allow user to return to assessment results and/or create pdf from results was created by mlyter
I have created a survey that can be taken without any registration/token,etc (basically anyone with the link). I have used javascript to give feedback according to group score throughout the survey, but have also turned on assessments to give additional information at the end of the survey. This additional information includes some links that we would like the user of the survey to have access to after the survey is completed.
We can print the assessment results but this does not allow the user easy access to the links. Is there a way to create a link using the ID of the survey in conjunction with the ID assigned to the user that would allow the user access to the assessment results at a later time?
If not, is there a way to allow the user to export the assessment results in a pdf?
We can print the assessment results but this does not allow the user easy access to the links. Is there a way to create a link using the ID of the survey in conjunction with the ID assigned to the user that would allow the user access to the assessment results at a later time?
If not, is there a way to allow the user to export the assessment results in a pdf?
The topic has been locked.
- TMSWhite
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 44
- Thank you received: 15
12 years 4 months ago #71047
by TMSWhite
If you depend upon LimeSurvey or the support team, please give generously to our 2012 fundraiser .
Replied by TMSWhite on topic Allow user to return to assessment results and/or create pdf from results
In 1.92RC1, you can create tailored reports, like the feedback and links you are describing. Users could print out any desired page with that report information. Also, that same tailoring works in print_answers at the end - they'll see their raw answers, plus any tailored reports.
The first page of the demo for 1.92RC1 shows a sample of such custom reports.
The first page of the demo for 1.92RC1 shows a sample of such custom reports.
If you depend upon LimeSurvey or the support team, please give generously to our 2012 fundraiser .
- Expression Manager (EM):
Documentation
|
Sample Surveys
|
How Tos
|
Show Logic File
|
Upgrading to 1.92+ - Excel Style for Survey Structure Import/Export
The topic has been locked.
- mlyter
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 4 months ago #71084
by mlyter
Replied by mlyter on topic Allow user to return to assessment results and/or create pdf from results
TMSWhite, thanks for your response.
I ended up passing the SAVEDID and SID in the end url and querying the mySQL database from a separate page.
I ended up passing the SAVEDID and SID in the end url and querying the mySQL database from a separate page.
The topic has been locked.
- mattheoh
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 6
8 years 2 weeks ago #134069
by mattheoh
Hi, I m trying to do the same thing you did, I mean :
- Save Assessment (to permit users to consult it later)
- export assessment in a pdf file
Could you tell me more, about your solution ?
Thanks per advance.
Replied by mattheoh on topic Allow user to return to assessment results and/or create pdf from results
mlyter wrote: TMSWhite, thanks for your response.
I ended up passing the SAVEDID and SID in the end url and querying the mySQL database from a separate page.
Hi, I m trying to do the same thing you did, I mean :
- Save Assessment (to permit users to consult it later)
- export assessment in a pdf file
Could you tell me more, about your solution ?
Thanks per advance.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 2 weeks ago #134185
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Allow user to return to assessment results and/or create pdf from results
Did you think about just displaying custom assessment results at the "thank you"-page using the Expression Manager and placeholders?
You could easily add a "Print assessment results" button there which calls the browser's print option, see www.javascriptkit.com/howto/newtech2.shtml
Most modern browsers support direct PDF printing of any website.
You could easily add a "Print assessment results" button there which calls the browser's print option, see www.javascriptkit.com/howto/newtech2.shtml
Most modern browsers support direct PDF printing of any website.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mattheoh
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 6
8 years 2 weeks ago #134189
by mattheoh
HI thanks for your answer.
I already finished my assessment - it works well, but it's in HTML and not saved.
Add a PDF button could be a good solution... But I also need to assign / save the assessment (PDF or HTML version) to each survey completed (accessible in the result list).
The aim is the admin can go in the back office and look at the assesments of each survey completed...
(hope I m clear enough - that was exactly what mlyter wanted to do, but I didn't understand is solution with ID and SQL Queries)
Replied by mattheoh on topic Allow user to return to assessment results and/or create pdf from results
Mazi wrote: Did you think about just displaying custom assessment results at the "thank you"-page using the Expression Manager and placeholders?
You could easily add a "Print assessment results" button there which calls the browser's print option, see www.javascriptkit.com/howto/newtech2.shtml
Most modern browsers support direct PDF printing of any website.
HI thanks for your answer.
I already finished my assessment - it works well, but it's in HTML and not saved.
Add a PDF button could be a good solution... But I also need to assign / save the assessment (PDF or HTML version) to each survey completed (accessible in the result list).
The aim is the admin can go in the back office and look at the assesments of each survey completed...
(hope I m clear enough - that was exactly what mlyter wanted to do, but I didn't understand is solution with ID and SQL Queries)
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 2 weeks ago #134190
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Allow user to return to assessment results and/or create pdf from results
I am not sure if mlyter finally created the PDF at all. The solution sounds like he only loads the details of the current data set into a custom script which is called at the end of the survey.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mattheoh
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 6
8 years 2 weeks ago #134192
by mattheoh
Replied by mattheoh on topic Allow user to return to assessment results and/or create pdf from results
Indeed, I think he made a custom SQL request when the assessment is generated, to insert it in the database.
I don't need to go until there.
I will put a pdf button as you said...
But I need to find a solution to add / assign this pdf, to the survey result, to make it accessible in the back office...
I didn't find anything about that on forums.... not easy. :blink:
I don't need to go until there.
I will put a pdf button as you said...
But I need to find a solution to add / assign this pdf, to the survey result, to make it accessible in the back office...
I didn't find anything about that on forums.... not easy. :blink:
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 2 weeks ago #134193
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Allow user to return to assessment results and/or create pdf from results
You are right, storing results as a PDF is pretty difficult and not that easy to automate with complex additional coding.
To assign a PDF to a certain survey is pretty easy, you can simply use survey ID (e.g. 12345) and data set ID (e.g. 333) as a file name when storing the file: "assessment_12345_33.pdf".
You could then e.g. send an email to the admin including such a dynamically created link to the PDF or provide users with a predefined link at which they just have to enter the data set (and survey) ID.
To assign a PDF to a certain survey is pretty easy, you can simply use survey ID (e.g. 12345) and data set ID (e.g. 333) as a file name when storing the file: "assessment_12345_33.pdf".
You could then e.g. send an email to the admin including such a dynamically created link to the PDF or provide users with a predefined link at which they just have to enter the data set (and survey) ID.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mattheoh
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 6
8 years 2 weeks ago - 8 years 2 weeks ago #134194
by mattheoh
Replied by mattheoh on topic Allow user to return to assessment results and/or create pdf from results
seems a good idea to play with surveyr ID'S to generate the pDF name !
And maybe I could add an hidden equation question which the result would be : assessment_ID_DataID.pdf ...
In this way, I could directly access to the pdf file form the result list.
Do you think it would be possible ?
And maybe I could add an hidden equation question which the result would be : assessment_ID_DataID.pdf ...
In this way, I could directly access to the pdf file form the result list.
Do you think it would be possible ?
Last edit: 8 years 2 weeks ago by mattheoh.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
8 years 2 weeks ago #134197
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Allow user to return to assessment results and/or create pdf from results
The equation question sounds like a good idea. You could even hard code the complete path + file name there so an admin can copy - paste that at his browser to call the later created PDF.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- mattheoh
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 6
8 years 2 weeks ago #134199
by mattheoh
Replied by mattheoh on topic Allow user to return to assessment results and/or create pdf from results
I m going to look forward into it.
I will let you know, if I can do something with all this stuff !
Thanks again for your help.
I will let you know, if I can do something with all this stuff !
Thanks again for your help.
The topic has been locked.