Skip to main content

3.8 Reset Dynamic form

This action refers to the use of the Process Helper and allows you to clean the content of the fields present in the dynamic form from the values that have been entered during the compilation of the same.
It is mainly used to allow the re-compilation of the dynamic form.
By default, any Default values entered before the actual compilation of the dynamic form will be restored. (Figure 1)

image.png

Figure 1

Instead, to completely empty the content of the fields present in the dynamic form ignoring any default values entered before its actual compilation, you must check the "Empty field". (Figure 2)

image.png

Figure 2

EXAMPLE OF USE

In order to better understand how it works, below is an example of using a dynamic form reset action to manage a possible re-compilation of the "Intervention Date" field of a dynamic form.

This field has today’s date as the default value. (Figure 3)

image.png

Figure 3

When filling in the dynamic form, the user can modify the field content by manually entering the effective date of intervention if it does not coincide with today’s date.

In case, for any reason, the dynamic form has to be recompiled, configuring a dynamic form reset action (BEFORE the configuration of the process helper) without checking the "Empty field" flag, the system will delete any intervention date entered by the user and restore today’s date.

On the contrary, by configuring a dynamic form reset action (BEFORE the configuration of the process helper) by checking the "Empty field" flag, the system will delete both the intervention date entered by the user and today’s date entered by default, actually presenting the empty field to the user.