Use Case 3-Dynamically setting fields that are droppable
If you create more than one set of draggable and droppable fields, when a user drags on a field, all of the droppable fields are highlighted. Instead, only the target field should be highlighted. To ensure that only the intended droppable field is highlighted, use the Change Field action to dynamically set the intended droppable field and disable to other droppable fields.
For example, the Bill To and Ship To fields are one set of draggable and droppable fields on the Order Entry form. The Item Number Table and the Order List Table comprise another set. The following example explains how to dynamically set the Order List Table so that it is not highlighted when the Bill To field is dragged.
To dynamically set a field so that it is not droppable
- Create a new active link.
- Select the associated form (in this example, Order Entry).
- On the Execution Options panel, select the field that will be dragged.
In this example, the field is Bill To. - Select Drag.
- Create a Change Field action.
- Right-click on the If Actions panel, and select Add Action > Change Field.
- Select the field that should be droppable when the draggable field is dragged.
In this example, the field is Ship To. - From the Field Drop list, select Enable.
- Create another Change Field action.
- Right-click on the If Actions panel, and select Add Action > Change Field.
- Select the field that should not be droppable when the draggable field is dragged.
In this example, the field is Order List Table should not be droppable. - From the Field Drop list, select Disable.
- Save the active link.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*