- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
I think you will need to hide the questions via JavaScript. If you do it via relevance, the hidden questions won't be recorded.Check the date in an equation at the beginning.
Display your questions according to this.
If you use relevance : you have to update config : deletenonvalues www.limesurvey.org/manual/Optional_settings/en#Survey_behavior
I think you will need to hide the questions via JavaScript. If you do it via relevance, the hidden questions won't be recorded.Check the date in an equation at the beginning.
Display your questions according to this.
Yes, but I believe that would affect all surveys.If you use relevance : you have to update config : deletenonvalues www.limesurvey.org/manual/Optional_settings/en#Survey_behavior
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ // The day of the week to show this question // Sun: 0, Mon: 1, Tues: 2... var dayToShow = 1; var dayNumber = new Date().getDay(); if(dayToShow == dayNumber) { $('#question{QID}').removeClass('hidden').show(); } }); </script>
Sure, but my solution is for those who cannot install plugins.You don't read just after
![]()
> You can do it survey by survey using gitlab.com/SondagesPro/coreAndTools/DeletenonvaluesBySurvey
Else : but js solution : this don't manage the mandatiry or erro system. make it more complex.
I have a feature request about hidden under condition. It can be done by plugins now (in 5.X)
(date('w') != 1 AND (is_empty(self) OR !is_empty(self))) OR (date('w') == 1 AND !is_empty(self))