Hi everyone. Thanks to all those that will try to help me.
I want to use Limesurvey as a weekly report tool for my student.
I built a survey with 3 groups of questions.
- First one has only one question : number of the week.
- Second one if for permanent datas : name of the student, problem to be solved in the project, main work to be done...
- Third one is the weekly report. It includes several questions, each for one week only.
As it is a weekly report, student need to reopen the survey. "Multiples answers and updates" are set to "yes" in the parameters, student have a code, and each week, he can answer the new question. Great !
The question of the first group is automatically filled, hidden and validated with a javascript (thanks to Ben_V on the french forum). It doesn't appear to the sudent. It works.
Questions of the second group can be changed at any time by the student. No problem.
In the third group, only the question of the running week has to be filled by the student. No change can be done to the previous ones and, as for the following ones, I don't need them to appear. So, before being displayed, each question of the third group checks the number of the week defined in the first group (e.g. ((num_week.NAOK=="49")) ). Fine !
What doesn't work (yes, there is something that doesn't work) is that, as the previous questions of the running week are hidden, their values is set back to null. I can't anymore have a look to the history of the work of my students.
If you have any idea or script about how to force hidden questions to keep their values (for example, how to hide the question after the datas have been read by Limesurvey), my problem would be solved.
Cheers.