Now that you have completed the layout for your app, you can begin adding behaviors and logic.
Behaviors can be as simple as copying one field to another field in the app or as complex as inserting and validating data from a database.
This article will provide some common behaviors and their uses. For more information on behaviors, see Behavior Commands.
There are three things to consider when adding logic to your app:
1.How will the behavior be triggered?
2.What behavior will be triggered?
3.Which elements of your app will the behavior apply to?
How will the behavior be triggered.
Numerous behavior events are available, including changing data in a field, pressing buttons, opening pages, and more.
Once you have determined which event to use, locate it in the associated object's properties pane and click on it.
Behavior Events (2 min) |
The first step in adding intelligent behavior into your app is to select the event that triggers the behavior. Watch this video to learn about the different events that are available. |
What behavior will be triggered?
The behavior event will open, and the behaviors will be displayed in the toolbox. Select the behavior you want to use and drag it onto the drawing area.
Which elements of your app will the behavior apply to?
With the behavior selected, set its properties in the panel on the right. This will typically determine what the behavior will do, and which objects on the app it references.
Behavior Commands (3 min) |
Once an event has been selected, the next steps are to choose the behavior command and set the properties. Watch this video to learn more about that. |
Sometimes, more than one behavior must be triggered on a single event, and sometimes, conditional behavior is included.
Check out the following for either of those scenarios: Multiple Behaviors, Conditional Behavior
Next: Creating Your Workflow Diagram
Return to: App Design - Getting Started, QuickStart Tutorials