Please help us help you and fill where relevant: Your LimeSurvey version: 5.3.23 Own server or LimeSurvey hosting: Own Server Survey theme/template: bootswatch
==================
(Write here your question/remark)
Hello,
Thank you in advance for your help.
I am a newbie with Lime
I am making some modifications to the framework to adapt it to a client survey.
When a user has completed their survey with their token, (if token completed != N) I need to redirect them to a web page that shows them the result of their survey. The redirect includes the token used and the surveyID.
I have created a controller (resultController) with its view, but when I try to access it, it asks me to authenticate as Admin. Is it possible to access without admin? How can I do it?
You create a web page to show the results. So this is not related to LimeSurvey. It is your responsibility to design it and establish a connection to the LimeSurvey database.
You created a controller. ??? How can we help without knowing anything about this.
I usually do it by creating a web page (php).
And the desired data I receive
either by direct access (SQL query on the database like "SELECT * from lime_survey_".$SID." WHERE token=".$tok )
or by the API
[url]
www.limesurvey.org/manual/RemoteControl_2_API
[/url]
[url]
api.limesurvey.org/classes/remotecontrol_handle.html
[/url]
Here you find the function "export_responses_by_token". Maybe you can use this.
Without more detailled informations from your side it's a bit difficult.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless