refactor: Re-organize fields

This commit is contained in:
Suraj Shetty 2024-10-21 11:51:08 +05:30
parent d35518639b
commit 84f4a76290

View file

@ -17,23 +17,25 @@
"introduction_text",
"web_form_fields",
"settings_tab",
"login_required",
"allow_multiple",
"allow_edit",
"allow_delete",
"access_control_section",
"anonymous",
"hide_navbar",
"hide_footer",
"login_required",
"column_break_2",
"apply_document_permissions",
"allow_edit",
"allow_multiple",
"allow_delete",
"form_settings_section",
"allow_incomplete",
"allow_comments",
"allow_print",
"print_format",
"allow_comments",
"show_attachments",
"allow_incomplete",
"allowed_embedding_domains",
"section_break_2",
"max_attachment_size",
"show_attachments",
"column_break_hhec",
"hide_navbar",
"hide_footer",
"allowed_embedding_domains",
"condition_section",
"condition_description",
"condition_json",
@ -112,7 +114,7 @@
"depends_on": "eval:!doc.anonymous",
"fieldname": "login_required",
"fieldtype": "Check",
"label": "Login required"
"label": "Login Required"
},
{
"default": "0",
@ -182,9 +184,10 @@
"options": "Web Form Field"
},
{
"description": "Set size in MB",
"fieldname": "max_attachment_size",
"fieldtype": "Int",
"label": "Max Attachment Size (in MB)"
"label": "Max Attachment Size"
},
{
"description": "For help see <a href=\"https://frappeframework.com/docs/user/en/guides/portal-development/web-forms\" target=\"_blank\">Client Script API and Examples</a>",
@ -299,10 +302,6 @@
"fieldname": "column_break_2",
"fieldtype": "Column Break"
},
{
"fieldname": "section_break_2",
"fieldtype": "Section Break"
},
{
"collapsible": 1,
"collapsible_depends_on": "show_list",
@ -372,9 +371,10 @@
},
{
"default": "0",
"description": "If enabled, all responses on the web form will be submitted anonymously",
"fieldname": "anonymous",
"fieldtype": "Check",
"label": "Anonymous"
"label": "Anonymous Responses"
},
{
"fieldname": "condition_description",
@ -408,13 +408,27 @@
"fieldname": "allowed_embedding_domains",
"fieldtype": "Small Text",
"label": "Allowed Embedding Domains"
},
{
"fieldname": "access_control_section",
"fieldtype": "Section Break",
"label": "Access Control"
},
{
"fieldname": "form_settings_section",
"fieldtype": "Section Break",
"label": "Form Settings"
},
{
"fieldname": "column_break_hhec",
"fieldtype": "Column Break"
}
],
"has_web_view": 1,
"icon": "icon-edit",
"is_published_field": "published",
"links": [],
"modified": "2024-10-18 11:19:53.969109",
"modified": "2024-10-21 11:49:54.025258",
"modified_by": "Administrator",
"module": "Website",
"name": "Web Form",