Control How Fields With a Null Value are Displayed in Forms
If your dynamic form has any fields that might have no value (a null value), you can use the dynamic form's Null Value Field property to determine if those fields are displayed in the form.
To illustrate how this works, let's say you have a dynamic form that displays several fields, and, in some cases, the value of one of the fields (for example, JobCode
) is null. By default, when the field's value is null, the Job Code field is displayed in editable forms, and hidden in read-only forms. Using the Null Value Field property, you can change this default behavior, for example, so that the field is always hidden when the field's value is null.
The following table describes the three Null Value Field property options.
Option | Description |
---|---|
Auto |
This option is applied by default. The behavior depends on if the form is editable or read only.
|
Show |
When selected, fields that have a null value are always displayed in the form, regardless if the form is editable or read only. |
Hide |
When selected, fields that have a null value are never displayed in the form. |
Note:
You cannot set the Null Value Field property in layouts that use a form template.To set the Null Value Field property in a layout.
- Open the the dynamic form's rule set.
- Open the layout where you want to set the property.
The Null Value Field is a property on the layout, not individual fields, and it applies to all fields in the layout. You can set the property in each of the rule set's layouts.
- In the layout's Properties pane, select a value for the Null Value Field property in the dropdown list.