Skip to content

Instantly share code, notes, and snippets.

@flexseth
Created July 18, 2019 20:43
Show Gist options
  • Save flexseth/9a4d8d5bb5cca361616c8c7971ad8ead to your computer and use it in GitHub Desktop.
Save flexseth/9a4d8d5bb5cca361616c8c7971ad8ead to your computer and use it in GitHub Desktop.
Demo Gravity Form
{
"title": "My test form",
"description": "",
"labelPlacement": "top_label",
"descriptionPlacement": "below",
"button": {
"type": "text",
"text": "Submit",
"imageUrl": ""
},
"fields": [{
"type": "text",
"label": "My New Label",
"defaultValue": "Just testing",
"id": "1",
"visibility": "visible",
"formId": "14",
"pageNumber": 1
}, {
"type": "select",
"label": "My Dropdown",
"choices": [{
"text": "Choice 1",
"value": "one"
}, {
"text": "Choice 2",
"value": "two"
}],
"id": "2",
"visibility": "visible",
"formId": "14",
"pageNumber": 1,
"isRequired": false
}],
"version": "2.3-rc-5",
"id": "14",
"useCurrentUserAsAuthor": true,
"postContentTemplateEnabled": false,
"postTitleTemplateEnabled": false,
"postTitleTemplate": "",
"postContentTemplate": "",
"lastPageButton": null,
"pagination": null,
"firstPageCssClass": null,
"is_active": "1",
"date_created": "2018-04-12 16:51:40",
"is_trash": "0",
"notifications": {
"5acf8e9cf2b40": {
"id": "5acf8e9cf2b40",
"to": "{admin_email}",
"name": "Admin Notification",
"event": "form_submission",
"toType": "email",
"subject": "New submission from {form_title}",
"message": "{all_fields}"
}
},
"confirmations": {
"5acf8e9cf310a": {
"id": "5acf8e9cf310a",
"name": "Default Confirmation",
"isDefault": true,
"type": "message",
"message": "Thanks for contacting us! We will get in touch with you shortly.",
"url": "",
"pageId": "",
"queryString": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment