The image shows an On Change event defined, using If-Else conditions, for a train control with two stops. Here are the different sections of the event window, the fields in each section (from left to right), and the values populated in each field:
  • If section:
    • Row 1:
      • Type drop-down list set to Control

      • Control Name set to Train

      • Property set to Value

    • Row 2: is equal to is selected from the drop-down menu.

    • Row 3:
      • Type drop-down list set to Constant

      • Value set to basicdetails

  • Then section: Contains an Action defined as follows.
    • Control Name set to WebForm1

    • Action set to Change Presentation

    • Presentation set to BasicDetails

  • Else If section:
    • Row 1:
      • Type drop-down list set to Control

      • Control Name set to Train

      • Property set to Value

    • Row 2: is equal to is selected from the drop-down menu.

    • Row 3:
      • Type drop-down list set to Constant

      • Value set to feedback

  • Then section: Contains an Action defined as follows.
    • Control Name set to WebForm1

    • Action set to Change Presentation

    • Presentation set to Feedback