blob: aa98ccda7eabe93d1d59dea8779d49b790f28a8b [file] [log] [blame]
{
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/slingform",
"button": "Save",
"fields": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/general/container",
"formId": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/text",
"label": "Form ID",
"name": "formId"
},
"submitText": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/text",
"defaultValue": "Submit",
"label": "Submit Text",
"name": "submitText",
"required": true
},
"successPage": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/path",
"label": "Success Page",
"name": "successPage"
},
"successAction": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Success Action",
"name": "successAction",
"options": {
"redirect": {
"jcr:primaryType": "nt:unstructured",
"label": "Redirect",
"value": "redirect"
},
"forward": {
"jcr:primaryType": "nt:unstructured",
"label": "Forward",
"value": "forward"
}
}
},
"successMessage": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/richtext",
"label": "Success Message",
"name": "successMessage"
},
"actionsErrorMessage": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/richtext",
"label": "Actions Error Message",
"name": "actionsErrorMessage"
},
"fieldsErrorMessage": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/richtext",
"label": "Fields Error Message",
"name": "fieldsErrorMessage"
}
}
}