- Posts: 38
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can i choose answer like this ?
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
6 years 6 months ago - 6 years 6 months ago #158725
by mikezhangsky
Can i choose answer like this ? was created by mikezhangsky
Q: Consider the answer in order 1,2,3
1:____
2:____
3:____
* these three answer can not been the same. each answer can also choose type of other ,and users can write there 'other' answer
Answer list:
apple , pear, banana, bear, tea, orange, water
1:____
2:____
3:____
* these three answer can not been the same. each answer can also choose type of other ,and users can write there 'other' answer
Answer list:
apple , pear, banana, bear, tea, orange, water
Last edit: 6 years 6 months ago by mikezhangsky.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 6 months ago #158729
by DenisChenu
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.
Replied by DenisChenu on topic Can i choose answer like this ?
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.
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago #158779
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
Thank you for your reply.
But how can i write a array question with other options? just like the attach picture
But how can i write a array question with other options? just like the attach picture
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 5 months ago #158817
by DenisChenu
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.
Replied by DenisChenu on topic Can i choose answer like this ?
Need some javascript then … don't have time, maybe tparner have more idea :
manual.limesurvey.org/Workarounds:_Manip...ime_using_Javascript
Else, maybe you can try with www.limesurvey.org/fr/?option=com_sobipr...textadapt&Itemid=729 and an updated version of unique ? something like unique(self.sq_choice,self.sq_other).
Else, maybe you can try with www.limesurvey.org/fr/?option=com_sobipr...textadapt&Itemid=729 and an updated version of unique ? something like unique(self.sq_choice,self.sq_other).
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.
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago #158827
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
thank you very much
arraytextadap :it is very good Extensions ,i have already use it .
arraytextadap :it is very good Extensions ,i have already use it .
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago #158941
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
Question validation equation : unique(self) and count(self)==max(self)
when i write this equation in the question, then the question display.
when i write this equation in the question, then the question display.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 5 months ago #158957
by DenisChenu
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.
Replied by DenisChenu on topic Can i choose answer like this ?
?
1: I say in Question validation equation : it's not for display or not the question …
2: I think you can use unique with sq_ to get the unique by column for the 1st column (the sq_choice if the first column is named choice).
1: I say in Question validation equation : it's not for display or not the question …
2: I think you can use unique with sq_ to get the unique by column for the 1st column (the sq_choice if the first column is named choice).
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.
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago #158959
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
when i try like this :
set a array question Q1 with dropdown
y1 y2 y3 y4 y5
x1
x2
x3
i want the answer of x1 ,x2 ,x3 must be different . i find the example from your web ,and it said :unique(self)
i try Question validation equation like this :
unique(Q1_x1,Q1_x2,Q1_x3)
and i find the question Q1 will been not display ,and it was hided...
set a array question Q1 with dropdown
y1 y2 y3 y4 y5
x1
x2
x3
i want the answer of x1 ,x2 ,x3 must be different . i find the example from your web ,and it said :unique(self)
i try Question validation equation like this :
unique(Q1_x1,Q1_x2,Q1_x3)
and i find the question Q1 will been not display ,and it was hided...
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 5 months ago #158965
by DenisChenu
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.
Replied by DenisChenu on topic Can i choose answer like this ?
?????? Where did you put this equation ?
Else there are an error : Q1_x1 etc … didn't exist : you need to use
unique(Q1_x1_y1.NAOK,Q1_x3_y1.NAOK,Q1_x3_y1.NAOK).
See manual.limesurvey.org/Expression_Manager#Qcode_Variable_Naming / Array (Multi Flexi) part.
Else there are an error : Q1_x1 etc … didn't exist : you need to use
unique(Q1_x1_y1.NAOK,Q1_x3_y1.NAOK,Q1_x3_y1.NAOK).
See manual.limesurvey.org/Expression_Manager#Qcode_Variable_Naming / Array (Multi Flexi) part.
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.
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago - 6 years 5 months ago #158967
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
i set Question validation equation :
unique(unique_x1.NAOK, unique_x2.NAOK, unique_x3.NAOK)
but it dose not work.
unique(unique_x1.NAOK, unique_x2.NAOK, unique_x3.NAOK)
but it dose not work.
Attachments:
Last edit: 6 years 5 months ago by mikezhangsky.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 5 months ago #158969
by DenisChenu
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.
Replied by DenisChenu on topic Can i choose answer like this ?
You read ?
Code:
unique(Q1_x1_y1.NAOK,Q1_x3_y1.NAOK,Q1_x3_y1.NAOK)
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.
The topic has been locked.
- mikezhangsky
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
- Thank you received: 0
6 years 5 months ago #158971
by mikezhangsky
Replied by mikezhangsky on topic Can i choose answer like this ?
yes, when i use
unique(unique_x1_1.NAOK, unique_x1_2.NAOK, unique_x1_3.NAOK)
and check logic in survey ,it will get a error.
i have put the example survey in the Attachments file..
unique(unique_x1_1.NAOK, unique_x1_2.NAOK, unique_x1_3.NAOK)
and check logic in survey ,it will get a error.
i have put the example survey in the Attachments file..
The topic has been locked.