Difference between revisions of "Features/Advanced input forms"
Line 44: | Line 44: | ||
* Danish postal codes | * Danish postal codes | ||
* Danish addresses (DAWA) | * Danish addresses (DAWA) | ||
* Countries and currencies | |||
* NACE codes (tree searchble) | * NACE codes (tree searchble) | ||
* UNSPSC codes | * UNSPSC codes |
Revision as of 15:06, 9 November 2024
Usage
In TS it is possbile to configure very advanced and dynamic input form behavior. The goal is to minimize the effort required to enter data, and at the same time maximize data quality.
In case you need step-by-step questionaires or wizards, we recommend looking at Questionaires
Validation rules
Validation of field values can follow one of the following
- The value is required
- Can be validated by a Regex expression
- Have a value within a minimum and/or maximum
Value ranges will differ according to data type
- Numbers: The value
- Text: Length of text
- Date: Allowed years
- Filles: Number of files
Note that dependencies are resolved before validation, so in case a field is not relevant the validation rule will be ignored.
Instrcutions
- Click on field
- Check of Validation
- Remove check in Allow empty values
Field dependencies
Fields can be dependent on values in other fields. Specific values, value ranges or list of values.
Workflow dependencies
Fields can be dependent on the records location in the workflow governing that entity. Each status is assigned a status level.
Fields can then refer to the workflow model with restrictions
- Status level FROM
- Status level TO
If the status restrictions are not satisfied the field will be removed and validation requirements will be ignored.
Note that 0 signifies that the status level restriction is disabled.
Instructions
Learn to setup Features/Status level dependencies
Lookup fields (DAWA,NACE etc.)
TS contains alot of specialized lookup fields that have defined datasources ready
- Danish postal codes
- Danish addresses (DAWA)
- Countries and currencies
- NACE codes (tree searchble)
- UNSPSC codes
- SKS framework (7 subtypes)
The DAWA lookup can also work together with a Google Map. Entering an adress wil update the map with the location, and clicking on the map will find the adress.
Duplicate prevention
To ensure that the same data are not duplicated by mistake, it is possible to ensure that new records are unique based on values in one or more fields.
Learn to set up Features/Duplicate_prevention