Databases Reference
In-Depth Information
To test this change, run page 3 again. The page opens and looks like Figure
16-8
. Start typing an address into the
From item. As soon as any value is entered, the Body item becomes enabled as in Figure
16-9
. Conversely, the moment
you delete all content from the From item, the Body item becomes disabled again.
Figure 16-8.
Before entering a value in the From field
Figure 16-9.
After entering a value in the From field
Using Page-Level Events
Dynamic actions give you full control over the triggering events and actions performed. Events can be triggered at
various different levels, including when the page loads, unloads, is resized, and so on.
In the next exercise you use the Page Load event to pop up a dialog reminding the user to be as verbose as
possible when they enter their ticket. Follow these steps:
1.
Edit
Page 2
of the application.
Because this event isn't tied to an individual item, but instead to a page-level event, you need to create the
dynamic action accordingly.
2.
Right-click the
Dynamic Actions
node in the
Page Rendering
tree, and select
Create
from
the context menu, as shown in Figure
16-10
.