Due to a personal vendetta among one of the employees in the municipality of Sogndal, a user who enters the postal code 4619 as a previous residence
should NOT be allowed to move to Sogndal. In this case, an error message should appear at the field in question with the following text:
There is an address in Sogndal which is often misspelled by newcomers which leads to case workers having to spend a lot of time manually correcting it.
Therefore, we want the app to automatically fix this mistake when the misspelled address is detected.
If the user enters Sesame Street 1 in the field Innflytter.Adresse.Gateadresse, it should automatically be corrected to Sesamsgate 1.
For all other addresses the field should remain the same.
What separates ProcessDataWrite and ProcessDataRead?
What is the difference between DataProcessing and Calculations?
Summary
In this module you have had a look at repeating groups and how this is configured as a part of the user interface.
We have also had a look at how to set up custom validations in the backend for cases that will not be defined as a part of restrictions in the data model.
Lastly, we have looked at how to set up data processing that enables manipulation of data runtime.
Solution
If you did not manage to complete all the steps, we have an example solution that you can use as inspiration.
Screenshot of data collecting page with repeating groups