Can i choose answer like this ?

More
1 month 4 days ago - 1 month 4 days ago #158725 by mikezhangsky
mikezhangsky created the topic: Can i choose answer like this ?
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
Last Edit: 1 month 4 days ago by mikezhangsky.

Please Log in to join the conversation.

More
1 month 4 days ago #158729 by DenisChenu
DenisChenu replied the topic: Can i choose answer like this ?
Hi
demonstration.sondages.pro/714997?lang=fr#

Using array + dropson attribute must do the trick

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 month 3 days ago #158779 by mikezhangsky
mikezhangsky replied the 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
Attachments:

Please Log in to join the conversation.

More
1 month 3 days ago #158817 by DenisChenu
DenisChenu replied the 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).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 month 3 days ago #158827 by mikezhangsky
mikezhangsky replied the topic: Can i choose answer like this ?
thank you very much

arraytextadap :it is very good Extensions ,i have already use it .

Please Log in to join the conversation.

More
3 weeks 6 days ago #158941 by mikezhangsky
mikezhangsky replied the 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.

Please Log in to join the conversation.

More
3 weeks 6 days ago #158957 by DenisChenu
DenisChenu replied the 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).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 weeks 6 days ago #158959 by mikezhangsky
mikezhangsky replied the 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...

Please Log in to join the conversation.

More
3 weeks 6 days ago #158965 by DenisChenu
DenisChenu replied the 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.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 weeks 6 days ago - 3 weeks 6 days ago #158967 by mikezhangsky
mikezhangsky replied the 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.
Attachments:
Last Edit: 3 weeks 6 days ago by mikezhangsky.

Please Log in to join the conversation.

More
3 weeks 6 days ago #158969 by DenisChenu
DenisChenu replied the topic: Can i choose answer like this ?
You read ?
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 weeks 6 days ago #158971 by mikezhangsky
mikezhangsky replied the 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..

Please Log in to join the conversation.

More
3 weeks 6 days ago #158972 by mikezhangsky
mikezhangsky replied the topic: Can i choose answer like this ?
i use Array (Flexible) - Row type .

so i think unique(Q1_x1.NAOK,Q1_x3.NAOK,Q1_x3.NAOK) is ok .

i find from Qcode Variable Naming , if i use Array (Flexible Labels) Dual Scale , i should use like this :unique(Q1_x1_y1.NAOK,Q1_x3_y1.NAOK,Q1_x3_y1.NAOK)

Please Log in to join the conversation.

More
3 weeks 6 days ago #158973 by mikezhangsky
mikezhangsky replied the topic: Can i choose answer like this ?
Thank you very much ..

i put the validation equation in wrong place.

i have resolve the unique problem .. thanks again .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now