Client scripts let the system to run JS scripts in the browser when the client events are happening, for example:
- form loading;
- form submitting;
- field value changing.
Client scripts are used to configure forms, form fields and field values while form is used by the client. Their abilities:
- make the field hidden or visible;
- make the field read-only;
- make the field mandatory or non-mandatory;
- set the value in one field basing on the value in another field;
- change parameters in a Choice list;
- show a message basing on the field value.
The client script form configuration
Client script can be configured via the SIMPLE administrative interface.
You must have admin privileges to do this.
To configure a script, please navigate to System Definition -> Client Script. In the table below you can find information about the fields.
Name | Description |
---|---|
Name | Client script name |
Table | A table. the script will be executed on its form, |
Type | The script type:
|