Form
Overview
The Form is a container, it is used to capture user input
To make the Form work you need to bind the model with the Form, refer Models
Once the model bind, you will see the fields on the left side related to the object that you select while model creation
You can drag and drop the fields on the Form
You can also map a nested field where it will allow you to select a field that is an array or object field
Once you select a nested field which is an array or object field, then all the fields inside the array and object will be visible on the left side
You can add multiple actions on the From which will be displayed as a buttons
You can make one action as a primary action
Only three actions will be displayed on the Form and the rest of the actions will be displayed in a dropdown list
By clicking on the button it will perform a particular action e.g. invoking a specific action or workflow
Attribute
1. Model
All the models will be displayed in the list that you have created using an object, you can choose the specific model using which you can save and display the value of the field
You can create a model using the object which is
Only single record model can be assigned to the Form
Refer Models
Create New Model: You can either choose the model from the list or you can create the new model by clicking on “Create New Model“ Option for your form
2. Nested Field
Nested field allows you to select a field that is an array or object field
Once you select a nested field which is an array or object field, then all the fields inside the array and object will be visible on the left side
3. Field Layout
Field Layout allows you to set the layout of the field on the Form
Types of layout
Stacked: In a stacked layout, the input/output field is under the field label with a small margin around the label, and the input/output field
Horizontal: In a horizontal layout, the input/output field is in front of the field label with a small margin around the label, and the input/output field
Single Column: A Single Column layout is the same as a horizontal layout the only difference is the input/output field size is greater than the field label in a layout
No Label: In the No Label layout, the label name is not visible, only the input/output field is present in the layout
Compact: Compact layout is the same as a stacked layout, the difference is there is no margin around the label and the input/output field
4. Show Horizontal Line
Using show horizontal line you can show a horizontal line under the field that will divide the fields if the field is read-only
5. No Action Bar
If no action bar checkbox is checked, then the action bar will not be displayed on the Form
6. Inline Edit
If the inline edit checkbox is checked, then you can edit the fields on the Form when the Form is in read only view
7. Overflow After
Overflow After attribute is used to display the actions in list format after reaching its entered limit
By Default the value is 3 which means the three actions will displayed on a section header
If you added the new action despite having 3 actions then the new action will appear in the drop down list section
8. Actions
You can add multiple actions and each action is displayed as a button
By clicking on the button it performs a particular action e.g. invoking a specific action or workflow
Only three actions will be displayed on the Form and the rest of the actions will be displayed in dropdown
Refer Actions
9. Primary Action
You can select an action to be the primary action of the Form, from the list of actions
By clicking on enter key the Primary Action will be performed
Only one action can be set as a primary action