Skip to content

Include validations in export json template #64

@alexperto

Description

@alexperto

issue: json responses from surveyor surveys are not including any validation

example of current json response:

{
uuid: "fbb547d6-fd91-4e54-b40c-a3d6b8ef57fb",
answers: [
{
uuid: "f59535e7-b698-4d48-b456-701f1cce343d",
text: "Integer",
type: "integer",
input_mask: "9999",
input_mask_placeholder: "Y"
}
],
dependency: {
rule: "A",
conditions: [
{
rule_key: "A",
operator: "==",
question: "d42730de-c2eb-43c6-afe9-8acd5db957e1",
answer: "69841716-8b5b-4cb7-871e-c9b52f3df79d"
}
]
},
text: "What year was your <b><u>biological mother</u></b> born?",
help_text: "Please answer in YYYY format.",
reference_identifier: "year"
},

from a template:

screen shot 2017-01-24 at 1 38 55 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions