Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Minimum data blocks conditions V6

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 2 days ago #265903 by Wouter van Dyck
Minimum data blocks conditions V6 was created by Wouter van Dyck
Please help us help you and fill where relevant:
LimeSurvey version: LimeSurvey Community Edition   Version 6.5.13+240617
Own server or LimeSurvey Cloud:
Survey theme/template:
==================
Hello,

I am trying to have a minium date for the end of symptoms which cannot be before the start of symptoms. So I used the question for the start of symptoms (SYMSTART) as minimum date on the question about the end of symptoms (SYMEND). SYMSTART is recognized by LimeSurvey and the setup worked in version 3 of LimeSurvey. But now, the dynamics on the page won't work. Usually, a number of fields appear when the leading question is set to yes. But now nothing happens unless I move to the next page and back, at which point all fields appeared. If I all minimum dates from the group, the dynamics work again as they should.

Anyone know why this is happening?

Kind regards,
Wouter
 

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 months 2 days ago #265904 by DenisChenu
Replied by DenisChenu on topic Minimum data blocks conditions V6
My opinion : community.limesurvey.org/bug-tracker/
before anything else.

Else : if you put {SYMSTART.NAOK} in a questin text : what do you have ?
You give no information on your expression here. We can not help like this.
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 1 day ago #265917 by Wouter van Dyck
Replied by Wouter van Dyck on topic Minimum data blocks conditions V6
Hi Dennis,

Thank you for your quick reply. I am unable to log into  community.limesurvey.org/bug-tracker/  at the moment. But I agree that it might be a V6 related bug as it worked in V3 of LimeSurvey.

If I add SYMSTART.NAOK or SYMSTART in the minimum date property under the display tab of the SYMEND question, the LimeSurvey recognizes the field because the correct reference is displayed when I hover the option in the question summary. It is just wierd that this would impact the dynamics on the group.

Kind regards,
Wouter

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 months 1 day ago #265918 by Joffm
Replied by Joffm on topic Minimum data blocks conditions V6
Hi,
You still didn't show your equations nor anything else.
Best you provide the lss export of the relevant questions.
Copy the survey, remove anything not relevant, export as lss.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 months 1 day ago #265919 by DenisChenu
Replied by DenisChenu on topic Minimum data blocks conditions V6
I ask you to put {SYMSTART.NAOK} in a question text and check the difference between 3.X and 6.X. Maybe {SYMSTART.shown} to.


Like This email address is being protected from spambots. You need JavaScript enabled to view it. ask, you don't tell us what do you test, we can not help you.

To log on bug tracker : same password.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 1 day ago #265920 by Wouter van Dyck
Replied by Wouter van Dyck on topic Minimum data blocks conditions V6
Hi both,

Please find attached the lss.

If I add {SYMSTART.NAOK} to the question text, the answer of SYMSTART is shown in the question. So LimeSurvey knows sees the link, but the minimum date feature of V6 is just not working as expected?

Kind regards,

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 months 1 day ago #265937 by Joffm
Replied by Joffm on topic Minimum data blocks conditions V6
As you might have noticed it doesn't work if the two date questions are in the same group.
As the manual says

The Expression Manager validation option can also be used for setting up a "minimum date". However, if you you use the popup calendar and the expression relies on a previous question located on the same page, the year will not be displayed correctly in the popup calendar.

Obviously, not only the years isn't displayed correctly, but the whole structure breaks.

So I advise you redesign your survey, IMHO there are too many suddenly pop-ups of questions.
 
   


Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
3 months 23 hours ago #265943 by DenisChenu
Replied by DenisChenu on topic Minimum data blocks conditions V6

As the manual says

The Expression Manager validation option can also be used for setting up a "minimum date". However, if you you use the popup calendar and the expression relies on a previous question located on the same page, the year will not be displayed correctly in the popup calendar.

Obviously, not only the years isn't displayed correctly, but the whole structure breaks.
 
I must check, but I think it's fixed in last 3.X version
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 months 22 hours ago #265948 by Wouter van Dyck
Replied by Wouter van Dyck on topic Minimum data blocks conditions V6
Yes indeed, the designed questionnaire worked well in V3 of LimeSurvey. So something was updated in between V3 and V6 to break the minimum date feature.

I will try and see if changing the groups makes any difference.

Kind regards,
Wouter

Please Log in to join the conversation.

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #266031 by Wouter van Dyck
Replied by Wouter van Dyck on topic Minimum data blocks conditions V6
Update:

Moving the end date (SYMEND) to a different group fixes the problem. Also, if you keep the end date in the same question group as the start date (SYMSTART), you can trigger the dynamics by moving away and back to the group (next and previous). So it is like SYMSTART needs to be submitted before everything works correctly.

I would prefer to have all questions in the same group so we can deal with all symptom-related questions at once. But maybe that is not possible in LimeSurvey v6?

Kind regards,
Wouter

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 months 3 weeks ago #266032 by DenisChenu
Replied by DenisChenu on topic Minimum data blocks conditions V6
I think there are issue with same group

But you don't answer to my question : what it shown when you write in a quetsion text : {SYMSTART.shown} and {SYMSTART.NAOK}

And if you can compare with 3.X : it's best.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Wouter van Dyck
  • Wouter van Dyck's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 3 weeks ago #266033 by Wouter van Dyck
Replied by Wouter van Dyck on topic Minimum data blocks conditions V6
Hi Dennis,

My apologies, I thought I answered this above. If I complete SYMSTART as the 10th of July, I get this in the SYMEND question text:


"Date of last symptoms 10/07/2024 and 2024-07-10 00:00"

Kind regards,
Wouter

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose