-
Sol_omonAsked on March 14, 2017 at 7:23 PM
How can I create new submission with a multiple choice question via API?
I am using " POST /form/{id}/submissions " and it works fine for text fields and single choices but I just cannot set values for multiple choice questions.
I tried:
'submission[xx]' :'Option 1,Option 2,Option 3'
'submission[xx]' :'Option 1|Option 2|Option 3'
'submission[xx]' :[Option 1,Option 2,Option 3]
nothing above worked for me.
-
Chriistian Jotform SupportReplied on March 14, 2017 at 11:52 PM
Can you please try using this format instead?
'submission[xx]' :['Option 1','Option 2','Option 3']
For API related issues, please also try to contact https://developers.jotform.com/ or contact api@jotform.com. I believe that our API team will be able to better assist you.
Regards.