Salesforce

How Do I Condition an Operation to be Executed only if the End User Sequentially Tabs from One (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Condition an Operation to be Executed only if the End User Sequentially Tabs from One Control to Another, or When the End User Skips to a Specific Control? (Magic xpa 3.x)

Sometimes you may have logic that needs to be executed as soon as the user lands on a specific control, either by tabbing to it or clicking on it. This is easily done by putting that logic in the Control Prefix logic unit of that control.

Using Control Prefix


  1. Press Ctrl+H to create your logic unit header line.

  2. Type C to select the Control handler. You will jump to the next field.

  3. Type P to select Prefix from the second drop-down box. You will jump to the next field.

  4. Zoom to select the desired control from a list of your current controls. If the control doesn’t exist yet, or is out of scope, you can just type in the name.

  5. Enter the operations you want to execute, in the newly created logic unit.

Now, the logic you entered will only be executed when the user first lands on the specified control.

See also

The Online and Rich Client Samples projects (program LG13 and RLG13)

Reference
Attachment 
Attachment