preferred age range: from - until (here I want the condition that "from" is smaller than "until")
maximum age range: from - until (here I want the condition that "from" is smaller or equal than "from" of preferred age range and "until" is larger or equal than "until" from preferred age range.
Which question types are you going to use?
Multiple numerical?
1. is_empty(Q1_SQ001) OR is_empty(Q1_SQ002) OR Q1_SQ001 lt Q1_SQ002
2. is_empty(Q2_SQ001) OR is_empty(Q2_SQ002) OR (Q2_SQ001 le that.Q1_SQ001 AND Q2_SQ002 ge that.Q1_SQ002)
Array(numbers)
1. is_empty(Q1_Y001_X001) OR is_empty(Q1_Y001_X002) OR Q1_Y001_X001 lt Q1_Y001_X002
2. is_empty(Q2_Y001_X001) OR is_empty(Q2_Y001_X002) OR (Q2_Y001_X001 le that.Q1_Y001_X001 AND Q2_Y001_X002 ge that.Q1_Y001_X002)
Better you show us your design.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please always export a LSS file with only the relevant questions. While the lsq file seems a good idea, it gives the helpers in the forum a lot more work, as they need to create a survey and a group into which they can import your lsq and if the base language differs, they need to create a new one.
I understand it can be a little bit more work on your side, but at the end of the day we are all volunteers that help here for free and also have limited time.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
I found the export to lsq, and the export of a group into lsg but not a single question into lss format.
Could you please give me a hint?
What I tried is to export the entire survey and edited the html file. A re-import failed because I somehow oversaw something in the html structure. The error message I got is "This is not a valid LimeSurvey survey structure XML file."
Hi, you would do that (I would) by copying your survey to a new survey, delete every group that is not relevant and then delete every question that is not relevant in the resulting group(s). After that export the complete survey, that now has only one or some relevant questions that show the problem that you want solved.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The following user(s) said Thank You: DenisChenu, tpartner, ROSt52