:
Last modified: Apr 17, 2024

Dynamics

Module 4

In this module, you’re expanding the application you made in the previous modules to support more of the requirements of the municipality of Sogndal. Topics covered in this module: Code lists/Options Dynamic expressions Tasks Vis/skjul innhold Collecting employment information In many applications there is a need to provide the user with a set of response options for a data field. These options are referred to as code lists or options. »

Dynamics

⚠️ Dynamics are under active development. The RuleHandler.js file will in the future be replaced by dynamic expressions. Currently only show/hide dynamics are supported using expressions, but calculation and validation will be supported in the future. Introduction Dynamics are events that happen on the client side. These can be separated in two categories: Calculations - do calculations on the client side, and update the fields with new value. Show/hide fields - decide if fields should be hidden or displayed based on form values. »

Dynamic expressions

⚠️ Dynamic behaviour is an area under active development. This functionality is currently available as a beta feature in Altinn Studio and offers limited configuration options. The UI only allows to build expressions with one level of nesting, meaning an unlimited number of un-nested expressions can be combined using either the OR or AND operator. However, the tool allows to edit more complicated expressions by freestyle writing. Currently the tool is also limited to connecting expression to boolean component fields. »