Help needed for a non-coder and a weird version of Limesurvey

More
1 week 4 days ago #176214 by AnneBastin13
AnneBastin13 created the topic: Help needed for a non-coder and a weird version of Limesurvey
Hi everyone!

I am using a version of Limesurvey that is hosted by the university I work for.


I attached a screenshot (PDF) of what my platform looks like.

File Attachment:

File Name: SondagesUQO.pdf
File Size:247 KB



I am not able to access the codes for the questions, so I can't create an array with text and drop down for example (which is unfortunate as it is what I would need).

Now I have this question I need to set contraints:



We need initials of (max 9) people plus the relationship (so array text plus drop-down would have been perfect), but I can do array text with 2 columns, as the relationship does not matter in our final results.

The thing is, I need the person that writes initials to give the relationship too, but I can't find codes or constraints for that on my version :(

I set minimum answers to 2, but I can enter either an answer in 2 different columns (right) or in 2 different rows (wrong) and that simple constraint is satisfied.


How can I set a proper constraint that won't let people write only initials or only relationship?
Plus if I could find something that set "if answered "no one" --> don't let write anything else in the table"

I am very new to coding and I have no idea what I am doing, I need your help!!

Thank you all!
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #176221 by tpartner
tpartner replied the topic: Help needed for a non-coder and a weird version of Limesurvey
How about breaking it into ten questions? An array-texts followed by 9 drop-downs. Then you could put minimum-answers on the array and hide/show the drop-downs via relevance.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #176246 by AnneBastin13
AnneBastin13 replied the topic: Help needed for a non-coder and a weird version of Limesurvey
That would be a good idea, but would it make the data more complicated?
My Prof asked me to set it as a single question as it would make it simpler for her that way...

I'm only programming the survey, not analyzing the data for this project.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #176250 by tpartner
tpartner replied the topic: Help needed for a non-coder and a weird version of Limesurvey
How would it make the data more complicated? Every input has a column in the data regardless of whether it's an array text input or a dropdown. Additionally, drop-downs give defined answers which will be far easier to analyze than random text answers.

If you don't have access to JavaScript, I see this as the easiest solution.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #176266 by AnneBastin13
AnneBastin13 replied the topic: Help needed for a non-coder and a weird version of Limesurvey
It is true. I will try it out and show it to her.

How can I set a condition that will show the drop-down only if the related initials are not null?

I understand I'd look for a code that hides the 9 next questions if something was entered in the "no one" row, and one that shows relationship #1 if person #1 was identified, then #2 if something was written in person #2 and so on.

Such a bad luck that my coding course will only happen next semester!

Thank you!!

Anne

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago - 1 week 3 days ago #176267 by tpartner
tpartner replied the topic: Help needed for a non-coder and a weird version of Limesurvey
The relevance equation for the first relationship dropdown could be something like this (depending on question and sub-question codes):

is_empty(Q1_SQ001) AND !is_empty(Q1_SQ002)

This effectively says only show this question if the first row in Q1 is empty and the second row is not empty.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 1 week 3 days ago by tpartner.

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #176270 by AnneBastin13
AnneBastin13 replied the topic: Help needed for a non-coder and a weird version of Limesurvey
I made it work, thank you so so much!!

Thank you for all your help :)

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!