- Posts: 24
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
- Anurag01
- Topic Author
- Offline
- Junior Member
Less
More
10 years 5 months ago #100436
by Anurag01
Remote Control API 2: Getting answeroptions for multichoice questions (type "M") was created by Anurag01
I tried using the
get_question_properties
method to fetch the answeroptions, but that didn't work for multichoice questions, although the same method works for radio choice questions. Is there an alternate way to achieve the same?
Regards
Regards
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
10 years 5 months ago #100461
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 Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
I'm not suer, but in multichoice it must be "subquestions" and not "answeroptions"
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 following user(s) said Thank You: Anurag01
The topic has been locked.
- Anurag01
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
10 years 5 months ago #100501
by Anurag01
Replied by Anurag01 on topic Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
That worked! Thanks
The topic has been locked.
- mascarpone
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 6
8 years 4 months ago #128126
by mascarpone
Replied by mascarpone on topic Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
A question related to question types and the API: can anybody help finding out whether the question types be fetched from the API and if so how?
Merci!
Merci!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
8 years 4 months ago - 8 years 4 months ago #128128
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 Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
Hi mas_carpone,
Seems to be 'type' with get_question_properties, but only the internal letter : the letter can be found in the question type selector. It's only for the parent question. The sub quetsion don't have really a question type if i remind.
We have to improve our documentation for dev .
Denis
PS: question type is here : github.com/LimeSurvey/LimeSurvey/blob/ma...ls/Question.php#L440
Seems to be 'type' with get_question_properties, but only the internal letter : the letter can be found in the question type selector. It's only for the parent question. The sub quetsion don't have really a question type if i remind.
We have to improve our documentation for dev .
Denis
PS: question type is here : github.com/LimeSurvey/LimeSurvey/blob/ma...ls/Question.php#L440
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.
Last edit: 8 years 4 months ago by DenisChenu.
The following user(s) said Thank You: Ben_V, mascarpone
The topic has been locked.
- mascarpone
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 6
8 years 4 months ago #128171
by mascarpone
Replied by mascarpone on topic Remote Control API 2: Getting answeroptions for multichoice questions (type "M")
That's it Denis, thanks much!
The topic has been locked.