Last Updated: Apr 21, 2020
Forms allow users to add and edit data in the tables (Jiffy Tables or Doc Tables) and view data that already exists. Forms provide row level and column level restrictions to the data depending on the user roles.
Data can be added or edited in the Presentation using the form settings by clicking on add (1) or edit (2) icon.
The form differs for each user based on the role and state combinations given during the form settings.
Form settings can be performed in two ways:
Click on the Datasets icon in the menu bar. In the Datasets listing screen, click on the Forms icon corresponding to the required dataset.
Form Settings can be performed only on Jiffy tables and Doc tables.
Click on the Forms icon in the menu bar. In the Form Settings screen, select the required table from the Select Table dropdown.
Further, click on the +ADD NEW FORM button to create a new Form. Upon creation, the newly created Forms get listed in the Forms list. Three tabs, General Settings, Button Settings, and Column Restrictions appear on the right side of the Form Settings window.
All the features of the main table are applicable for the inline tables too.
Multiple forms can be applied to various rows of that table. One row can have only one form setting applied to it at a time. If any of the combinations of roles and states defined in a form matches the rows of a table, then the form gets applied to those particular rows.
At least one set of roles and state combinations must be defined with values while creating a new form.
Adding a new button: Two more buttons can be added to the tables. Click on the + icon (1) against the last existing button and specify the following details:
Task Associated: A list of all the tasks of that App in the system. Relevant tasks can be selected based on the button name defined. This can be used to trigger the selected task, when the button is clicked.
The Task Associated field is applicable only for the SAVE button.
State: A list of all the execution states defined in the selected table of that App.
This field can be used to update only the status to the execution state column of the selected table without associating a task to the button.
Buttons | Actions |
---|---|
Previous | Save |
Next | Save |
Cancel | Exit |
Save | Save, Exit or Save & Exit |
Selecting **State** and **Action** is not mandatory for the buttons.
This feature provides column level restrictions to the user roles. Using the view/edit options provided against each column of the selected table and its inline tables, restrictions can be set to the columns that can be accessed by the user role.
Column access to the user role can be applied based on the following actions:
By default, both **View** and **Edit** checkboxes are selected while creating a new form and can be changed accordingly as per the requirement.
There is a 6-dot button (3) which is a drag handle provided against each form, which is used to drag and drop the form to the desired place for ordering the forms as required. This is used when multiple forms are matching with the same role and state of the row. In such cases, the form having the priority is applied to that row of the selected table.
There is a 6-dot button which is a drag handle provided against each form, which can be used to reorder the forms.
When a form settings are being done for the first time in a table, a default form is created in which the user can edit the values as per the requirement.
If there are any, the inline table names are displayed as the heading for its columns to identify the details.
No two forms can have the same name. Form names for a table have to be unique.
An existing form can be duplicated to create a new form.
Only one form can be chosen at a time to perform the form settings for a table.