Skip to content

Instantly share code, notes, and snippets.

@ivanteoh
Created May 17, 2016 04:06
Show Gist options
  • Save ivanteoh/15b67cb4f2d4256be14556141045f4fc to your computer and use it in GitHub Desktop.
Save ivanteoh/15b67cb4f2d4256be14556141045f4fc to your computer and use it in GitHub Desktop.
{
"design": {
"formAccordion": {
"elements": {
"cat": {
"id": "cat",
"params": {
"description": "",
"edit_template": "",
"field_mode": "EDITABLE",
"field_type": "TEXT",
"formula": "",
"html_attributes_formula": "",
"index_type": "DEFAULT",
"mandatory": false,
"read_template": "",
"title": "cat",
"to_be_indexed": false,
"validation_formula": ""
},
"title": "cat",
"type": "PlominoField"
},
"class": {
"id": "class",
"params": {
"description": "",
"edit_template": "",
"field_mode": "EDITABLE",
"field_type": "TEXT",
"formula": "",
"html_attributes_formula": "",
"index_type": "DEFAULT",
"mandatory": false,
"read_template": "",
"title": "class",
"to_be_indexed": false,
"validation_formula": ""
},
"title": "class",
"type": "PlominoField"
},
"dog": {
"id": "dog",
"params": {
"description": "",
"edit_template": "",
"field_mode": "EDITABLE",
"field_type": "TEXT",
"formula": "",
"html_attributes_formula": "",
"index_type": "DEFAULT",
"mandatory": false,
"read_template": "",
"title": "dog",
"to_be_indexed": false,
"validation_formula": ""
},
"title": "dog",
"type": "PlominoField"
}
},
"id": "formAccordion",
"params": {
"null": false,
"beforeCreateDocument": "",
"beforeSaveDocument": "",
"description": "",
"document_id": "",
"document_title": "",
"dynamic_document_title": false,
"form_layout": "<div>\r\n<h3 class=\"plomino-accordion-header\"><a href=\"#\">Blue</a></h3>\r\n<div class=\"plomino-accordion-content\">\r\n<p><span class=\"plominoLabelClass\">class</span><span class=\"plominoFieldClass\">class</span></p>\r\n<p><span class=\"plominoLabelClass\">cat</span><span class=\"plominoFieldClass\">cat</span></p>\r\n</div>\r\n</div>\r\n<div>\r\n<h3 class=\"plomino-accordion-header\"><a href=\"#\">Red</a></h3>\r\n<div class=\"plomino-accordion-content\"><span class=\"plominoLabelClass\">dog</span><span class=\"plominoFieldClass\">dog</span></div>\r\n</div>",
"form_method": "Auto",
"hide_default_actions": false,
"isPage": false,
"isSearchForm": false,
"onCreateDocument": "",
"onDeleteDocument": "",
"onOpenDocument": "",
"onSaveDocument": "",
"onSearch": "",
"resources_css": "",
"resources_js": "",
"search_formula": "",
"search_view": "",
"store_dynamic_document_title": false,
"title": "Accordion"
},
"title": "Accordion",
"type": "PlominoForm"
},
"resources": {}
},
"id": "demodb"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment