- Posts: 25
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
cleaves and rows should appear seperatly
- Wrankmore_A
- Topic Author
- Offline
- Junior Member
Less
More
7 years 4 months ago #143613
by Wrankmore_A
cleaves and rows should appear seperatly was created by Wrankmore_A
Hi,
I want to carry out a Survey to different Farmers.
1.
In one question they should enter the different field crops they plant in this season.
Is it possible that rows appear only after you have made an entry in the previous row?
2.
The next table should use the answers from the field crop table as column headings.
Is it possible to realise it in limesurvey? How can I do this?
Thanks for helping
I want to carry out a Survey to different Farmers.
1.
In one question they should enter the different field crops they plant in this season.
Is it possible that rows appear only after you have made an entry in the previous row?
2.
The next table should use the answers from the field crop table as column headings.
Is it possible to realise it in limesurvey? How can I do this?
Thanks for helping
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 4 months ago - 7 years 4 months ago #143629
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic cleaves and rows should appear seperatly
1) In version 2.06 and newer you can place relevance on sub-questions so they only display if the previous sub-question is not empty. For example, something like this for a second sub-question:
2) There is no filtering for array columns without custom JavaScript. Can you provide screenshots or mock-ups of what you are doing. Also LimeSurvey version and template used.
Code:
!is_empty(Q1_SQ001.NAOK)
2) There is no filtering for array columns without custom JavaScript. Can you provide screenshots or mock-ups of what you are doing. Also LimeSurvey version and template used.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 4 months ago by tpartner.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 4 months ago #143630
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic cleaves and rows should appear seperatly
Wait, regarding #2, maybe this plugin will work for you -
framagit.org/SondagePro-LimeSurvey-plugin/hideEmptyColumn
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Wrankmore_A
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
7 years 4 months ago #143639
by Wrankmore_A
Replied by Wrankmore_A on topic cleaves and rows should appear seperatly
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12713
- Thank you received: 3926
7 years 4 months ago - 7 years 4 months ago #143643
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic cleaves and rows should appear seperatly
Hi, Wrankmore_A,
the relevance is:
If NOT is empty the answer before I want to show this line.
Therefore you have to add the !
!is_empty(B2_SQ002), or so
And just by the way:
NAOK means "No Answer is OK"
In Manual: .NAOK - same as .code, but can be part of calculations or lists even if irrelevant.
E.g. if you calculate a mean, normally it will fail if there is a missing variable in the list. Therefore add NAOK.
Joffm
the relevance is:
If NOT is empty the answer before I want to show this line.
Therefore you have to add the !
!is_empty(B2_SQ002), or so
And just by the way:
NAOK means "No Answer is OK"
In Manual: .NAOK - same as .code, but can be part of calculations or lists even if irrelevant.
E.g. if you calculate a mean, normally it will fail if there is a missing variable in the list. Therefore add NAOK.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 7 years 4 months ago by Joffm. Reason: Ergänzung
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3691
7 years 4 months ago #143670
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic cleaves and rows should appear seperatly
Oops, yes, I had a typo in my post.Therefore you have to add the !
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Wrankmore_A
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 0
7 years 4 months ago #143684
by Wrankmore_A
Replied by Wrankmore_A on topic cleaves and rows should appear seperatly
Thank you for your help.
The topic has been locked.