- Posts: 40
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Survey logic file at sample survey LS3 shows error
- ralfkunze
- Topic Author
- Offline
- Senior Member
Your LimeSurvey version: 5.5.1
Own server or LimeSurvey hosting: own
Survey theme/template: own based on Bootwatch
==================
Hello,
I am trying to get deeper into ExpressionScript und for this reason I loaded the sample survey LS3_Validation_tests.zip from this page . I can open everything and see the survey - but I guess that all the settings are in Survey logic file, right? At least I cannot see any expressions in the questions.
But when I try to open the Survey logic file, I get an error (see attachment).
My questions:
Are all the expressions really in Survey logic file?
Are there any other ways to open it? (I am trying to open it via Survey - Tools - Survey logic file)
Thanks
Ralf
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11660
- Thank you received: 2742
Nevertheless, the survey logic file should appear (and you can usually also see the equations in the survey logic file, but you can't edit them).
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
- Posts: 12941
- Thank you received: 3979
It shows validation by attributes
and regular expression
entered in "Eingabevalidierung"
And you see, I do not see any issue opening the logic file (version 5.6.40)
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
No issue on 6.3.7 /PHP8.1
No issue on 5.6.48 / PHP7.4
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.
- ralfkunze
- Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 1
But if I cannot change the conditions in the survey logic file - where do I find them?
Let's use the example from Joffm, question num. It has a validation by attributes and a regex validation.
I found the validation by attributes after a long search finally in the question - Condition designer.
But where do I find the regex validation? In question - Condition designer the option RegEx is greyed out, the input validation field inside the question it is empty (Joffm: Eingabevalidierung is empty). The question group has no condition designer... I just cannot find it! Can you guys point me in the right direction?
Ralf
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
Els e: why you don't update your LimeSurvey version ? Maybe it's fixed in last version.
I test with php8.1 , no debug and LimeSurvey 5.6.48 : it's OK.
LimeSurvey 5 (last version) are not compatible officially with PHP8.1 because we can not activate debug mode. But it work without debug mode.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.
- ralfkunze
- Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 1
Please Log in to join the conversation.
- ralfkunze
- Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 1
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13648
- Thank you received: 2491
I update via GIT : the most quick because it update only needed file.
I think CompfortUpdate do the same : only needed files updated : more quick.
If you update continuously : it the most quick and can be transparent for user in most case.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11660
- Thank you received: 2742
There are certainly times when there are usually a lot less or no responses coming in. And if really someone starts a survey in the exact 5 minutes while you run the update, so be it. These things happen.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- ralfkunze
- Topic Author
- Offline
- Senior Member
- Posts: 40
- Thank you received: 1
Also a great suggestion to set up GIT - I really gonna do it!
Furthermore I am a little confused: I received an Email from the forum which says, that Joffm posted a message but I cannot find that message in the thread:
How can this happen?A new reply has been posted on the LimeSurvey Forums
Please enable images to view this content
Message Subject : Survey logic file at sample survey LS3 shows error
Category : Can I do this with LimeSurvey?
Posted by : Joffm
URL : forums.limesurvey.org/forum/can-i-do-thi...rvey-ls3-shows-error
Message:
Hi,
But if I cannot change the conditions in the survey logic file - where do I find them?
and
I found the validation by attributes after a long search finally in the question - Condition designer.
Don't you see it here?
Let's take question "afAMF"
In the overview you see this
The min and max number of answers is tay<ken from question "minselect" and "maxselect"
and the range from questions "num" and "num2"
This you see here
and here
Now the Regular expression
In question "vS" you see in the overview
and the RegEx is entered here
Niw "Condition Designer"???:
In this sample survey there are no conditions on questions at all.
All questions are shown. So no conditions referring to resilts of previous questions.
If you see something different, you should show ar least a screenshot.
But as I understood your main problem is the not showing "survey logic file".
That's unpleasant, but as it is only an overview of what you see (better) in the questions themselves.
Joffm
And unfortunately I cannot follow the suggestions because the mail does not show the inserted screenshots.
Or let's try it like this: Joffm, could you please post your last message again?
Thanks, Ralf
Please Log in to join the conversation.