Closed SteadyCadence closed 7 years ago
@SteadyCadence If I remove index in questionnaire then I get this error message :
Error 400 : {"question_groups": [{"questions": [{"index": ["This field is required."]}, {"index": ["This field is required."]}, {"index": ["This field is required."]}, {"index": ["This field is required."]}, {"index": ["This field is required."]}]}]}
index
is required for all questions, question groups and options.
I remove the index from the advanced view, the index will be added before the questionnaire uploaded.
Perfect, @dimasciput! I think that works better-- to have the index added after the questionnaire has been edited.
Thank you!
Looks much cleaner. Could you also remove this field: { "relevant": null, "name": "title", "hint": null, "default": null, "required": false, "label": "Cadasta Platform - UAT Survey", "type": "NO"
This field is really only for ODK and it is not needed.
I am not sure how the index is being signed. When I tried to add a custom field, I got a 400 error about the index.
@SteadyCadence Can you copy paste your json here.
@SteadyCadence are you still having this issue?
@SteadyCadence have you got any chances to review this?
I don't seem to get that error so I think its fixed.
I want to keep the json schema as simple as possible. We can remove "index" and "constraint" from the field objects.
Also, please remove this "title" field that shows up on all new projects: