Welcome, Guest
Username: Password: Remember me

TOPIC: Adding responses for a survey via Remote Control 2 API

Adding responses for a survey via Remote Control 2 API 11 months 1 week ago #99861

  • Anurag
  • Anurag's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 23
  • Karma: 0
A question as simple as it gets. Referring to Remote Control 2 API's add_response method -- What should be the correct structure of the parameter aResponseData?

I need to know this in two cases:
  • an open-ended survey
  • a non-anonymous (token-based) closed-survey
The administrator has disabled public write access.

Adding responses for a survey via Remote Control 2 API 11 months 1 week ago #99886

  • Anurag
  • Anurag's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 23
  • Karma: 0
A gentle bump
The administrator has disabled public write access.

Adding responses for a survey via Remote Control 2 API 11 months 1 week ago #99931

  • Anurag
  • Anurag's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 23
  • Karma: 0
Another gentle bump. I really need this guys :dry:
The administrator has disabled public write access.

Adding responses for a survey via Remote Control 2 API 4 weeks 2 days ago #111288

  • jj8931
  • jj8931's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
I think I need this too. I would like to prepopulate a single question on a tokenized survey with a project number so the person taking the survey will not have to do it.
The administrator has disabled public write access.

Adding responses for a survey via Remote Control 2 API 4 weeks 15 hours ago #111343

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4133
  • Thank you received: 763
  • Karma: 347
I would like to prepopulate a single question on a tokenized survey with a project number so the person taking the survey will not have to do it.
Why not use a token attribute for this?


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 4 weeks 15 hours ago by tpartner.
The administrator has disabled public write access.

Adding responses for a survey via Remote Control 2 API 4 weeks 10 hours ago #111347

  • jj8931
  • jj8931's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
That is exactly what I have done.

I added an attribute and then used that attribute in the default of the field. Works fine.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.126 seconds
Donation Image