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
  • Anurag01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #100436 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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago #100461 by DenisChenu
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
  • Anurag01's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 5 months ago #100501 by Anurag01
The topic has been locked.
More
8 years 4 months ago #128126 by mascarpone
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!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 4 months ago - 8 years 4 months ago #128128 by DenisChenu
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

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.
More
8 years 4 months ago #128171 by mascarpone
That's it Denis, thanks much!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose