Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create surveyoption to "RequireOther" #27

Open
alanpoon opened this issue Mar 26, 2019 · 3 comments
Open

how to create surveyoption to "RequireOther" #27

alanpoon opened this issue Mar 26, 2019 · 3 comments

Comments

@alanpoon
Copy link

prop = {
'properties':{
'other':'true'
},
'other':True,
'properties[other]':True
}
client.api.surveyoption.create(4162127,27,title="master4",value="100",**prop)
Doesn't work.

@rpkilby
Copy link
Owner

rpkilby commented Mar 27, 2019

Hi @alanpoon - can you clarify what you're talking about? I don't see RequireOther in the issue description?

@alanpoon
Copy link
Author

Sorry about that.
prop = {
'properties[requireother]':'true'
}
client.api.surveyoption.create(4162127,27,title="master4",value="100",**prop)

This doesn't work.

@alanpoon alanpoon changed the title how to update surveyoption to "RequireOther" how to create surveyoption to "RequireOther" Mar 28, 2019
@rpkilby
Copy link
Owner

rpkilby commented Mar 28, 2019

Oh, this looks like a duplicate of #23, however you're saying that it's not working. Where does the code fail? Do you have a traceback or an error response from SurveyGizmo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants