Terminology
Module entities hierarchy chat
- list of question;
- list of answers to questions;
- list of additional web from fields ;
- list of possible statuses for web form results.
Web form can be displayed on screen, filled in and saved as a result.
Various access permissions can be defined for user groups:
- 1 - access restricted (web form and its results are completely unavailable);
- 10 - form can be filled in (visitor can only fill in and save the web form);
- 15 - edit your result (visitor has the option to see the list of own results. This list can be filtered and sorted; also, the visitor can view, modify and delete own result);
- 20 - view all results (visitor can view all active results);
- 25 - edit all results and view the web form settings (visitor can view and edit all results depending on their statuses. The visitor also has open access to the module administrative section - access permission to view the web form settings);
- 30 - full access (includes are the abovementioned access permissions, as well as access permissions to change web form settings).
Web form can have several mail templates bound to it. These mail templates can be used to create mail events when filling in and saving the web form.
- parameter ANSWER_TEXT (printed next to HTML fields as the caption to this field);
- parameter ANSWER_VALUE (used for internal maintenance purposes. For example, when calculating values of the web form fields веб-формы);
- type, that can show the following values:
- text - single line text field;
- textarea - multiline text field;
- radio - radio button);
- checkbox - flag for multiple selection (checkbox);
- dropdown - single selection element of dropdown list
- multiselect - multi selection list element;
- date - field to input date;
- image - field for image upload;
- file - field to upload custom file;
- password - field to input password.
- width;
- height;
- additional parameters.
Access permission to status can be of the following types:
- VIEW - access permission to view results in this status;
- MOVE - access permission to move results into this status;
- EDIT - access permission to edit results in this status;
- DELETE - access permission to delete results in this status.
Single user can have one or more ща the above access permissions.
Consequently, each result must have a status. When creating a new result, its new status will be equal to the status, which settings has the Assign this status to all new documents by default flag checked.
Validator - it is a set of functions, designed to check compliance to additional conditions of question and answer values of the web form.
List of questions to which this validator is applicable is defined. Questions that contain different types of answers, no validators are applicable.
Own validators with any functionality for any types of fields can be created. See details at manual for creating validators.