verifyFields:
- field: "%%docid%%.paikkakunta" # What field value to check
expectedValue: "%%paikkakunta%%" # The value that is expected to show. This can be specified via a url macro
failMessage: "Hakija '{realname}' on väärällä paikkakunnalla! Hänen pitäisi olla paikkakunnalla '{expected}'." # What message to show if the check fails
isError: false # If true, the message is displayed as an error instead as a warning that a user can skip
The option allows for userSelect to verify that the user has specific values in specific fields before allowing to verify. This can be used to e.g. alert supervisors if a person needs to be at another place.
Testisivu: https://timdevs01-5.it.jyu.fi/view/users/dz-dz/test-userselect-verify (mikä tahansa testikäyttäjä käy) Käyttäjät jaettu paikkakuntiin seuraavasti:
Usage:
The option allows for userSelect to verify that the user has specific values in specific fields before allowing to verify. This can be used to e.g. alert supervisors if a person needs to be at another place.