To use a valid when or visible when condition to make a form component's behavior conditional
- In the Infor Rich Client, access the Configuration Console.
- Access the business class configuration in which you want to make a component conditional. If you have not created a business class form configuration, create one for the form where you want to add a conditional component.
- Create the conditional field that will be used.
- Navigate to the part of the business class form layout where you want the conditional component
- Click New at the top of the left pane and then select Condition from the Layout Directive section.
-
Define the layout directive condition.
- Condition type
-
Select either Valid when or Visible when.
Valid when
means that if the condition is met, users can enter data in a field; otherwise, they cannot enter data.Visible when
means that if the condition is met, the component is visible; otherwise, the component is hidden. - Condition
-
Select the condition to apply. Click in the field to open a list of all fields in the business class. Filter the list by selecting Condition in the field type list.
- Add a field underneath the condition in the layout. To do this you can drag an existing field on top of the condition.