Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Edit answer options via RPC - by: thomas12

$
0
0
Hi everyone,
I'm writing here because I have got the same problem and there was no obvious solution.

I tried to change a questiontext of a question with set_question_properties(). This worked perfectly as described.

I only got a problem when changing the answer options of a question. In this case set_question_properties() always returns "No valid Data".

This is my function call:

$answer = $this->client->set_question_properties(
$this->sessionkey,
$qid,
array(
'answeroptions' => array(
'1' => array(
'answer' => 'test test test'
)
)
),
'de'
);


Does anyone know where the problem lies?
I'm using Version 2.05+ Build 140502.

Best regards

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>