Introduction
Welcome to our guide on Webform Settings, a critical feature in Empress. This feature provides a robust and customizable form management system, making it an essential element in the development and customization of business solutions.
Overview of Webform Settings
Webform Settings in Empress consists of multiple checkboxes within the Settings tab, which can be toggled to enable or disable various functionalities. This flexible setup allows you to configure your webforms to suit the specific needs of your application.
Note: All of the code referenced in this guide is included exactly as it appears in the Empress system.
Detailed Breakdown of Webform Settings
Each setting in the Settings tab of Empress Webforms serves a specific purpose. Here, we delve into a detailed explanation of each setting, demonstrating how they contribute to backend functionality and code integration.
Login Required
The login_required checkbox controls whether a user must be logged in to submit a response. By default, this setting is disabled, allowing responses from guest users. However, if you only want responses from logged in users, simply enable the login_required checkbox.
When the login_required checkbox is enabled, several additional settings become visible: Allow Multiple Responses, Allow Editing After Submit, Allow Delete, Allow Comments, Show Attachments, and Show List.
Allow Multiple Responses
This setting controls whether users are allowed to submit multiple responses to a webform. When enabled, users can view their responses in the Webform List View.
Allow Editing After Submit
When enabled, this setting allows users to edit their submitted responses.
Allow Delete
Activating the Allow Delete checkbox permits users to remove their submitted responses from the Webform List View.
Anonymous
Setting the Anonymous checkbox makes all responses received via the webform anonymous.
Apply Document Permission
When the Apply Document Permission checkbox is selected, users with read access to documents submitted by other users can see these documents in the Webform List View. However, they can only open the document from the list view if the Apply Document Permission setting is enabled.
Allow Print
This feature adds a print button, allowing users to print the document. Note that this button is only visible in View Mode.
Allow Comments
The Allow Comments checkbox, when enabled, adds a comment section below the webform. This facilitates communication between users, and all comments are linked to the document.
Show Attachments
Activating the Show Attachments setting reveals all the attachments included in the document in the Attachment Section.
Max Attachment Size (in MB)
This setting restricts users from attaching files larger than the specified size (in MB).
Allow Incomplete Forms
When enabled, this setting allows the submission of forms even if mandatory fields are not populated.
Concluding Remarks
Understanding and manipulating the Webform Settings in Empress empowers developers to build and customize powerful business solutions. This feature, with its robust functionalities and adaptable settings, enables the seamless creation, modification, and management of webforms, thereby enhancing the overall user experience and bolstering the efficiency of your application.