Mandatory inputs
Mandatory inputs
PANTHEON enables us to specify mandatory fields for input on each form. In this case, if the fields are not filled with data, the program will return a warning.
Table of contents
- Form settings
- Selectingmandatory fields
|
1. Form settings
The form for mandatory inputs can be accessed from the toolbar of all forms in PANTHEON, by clicking the
(Templates) button, where we select Form settings |Mandatory inputs.

 |
WARNING
The display of mandatory fields on each form will depend on the settings in the Administration panel l Settings l Mandatory fields.
|
2. Selecting mandatory fields
A form for selecting mandatory fields is opened.

On the form, we follow these fields:
Name
|
We enter any text to name the mandatory inputs.
|
(Enable recording)
|
By clicking the button we start recording, where, on the form for which we want to record the mandatory input fields, we click on each individual field to make it a mandatory field. During recording, the button changes to (Finish recording). When the recording is finished, we click the button again, to turn it back to red.
|
Control name
|
At the time of recording, for each click on the form, a field is written into the Control name column.
|
Sequence
|
The sequence, which can be changed manually, is recorded.
|
Hint
|
You can also write a hint for each individual field, which will be displayed on the form when you input the mandatory data.
|
Value
|
The value from the form which we are recording on is copied.
For date fields it is often more appropriate to choose a different filling method instead of filling in the value from the template (e.g. 1.1.2020) (see Specifying date fields in templates).
The value can also be expressed in the form of a "select statement", which has the ~S~ appendix at the beginning and end. E.g. ~S~select acident from the_setitem where acname ='01'~S~ .
|
Focus
|
When clicked, the focus is placed on the field of the form on which the recording was made.
|
Add workers
|
We select the worker for whom the recorded mandatory input fields will apply.
|
(Save changes)
|
After successfully recording the fields, we save the changes by clicking the button.
|