Back

Navigation Basics


Every Form has a unique URL based on its name. The URL of a Form follows the pattern: <domain name>/<webapp name>/<form name>.eb, for example, www.myDomain.com/ebase/logon.eb.

Navigating to a Form opens its first Page. A Form’s first Page can be configured in the Form Properties dialog, opened by clicking on the Form Properties  button in the Form Editor’s toolbar.

A Page in a Form can be navigated to via the Verj.io JavaScript API forms.gotoPage(Page) function.

This script could be added to the On Click Event of a Button or Hyperlink Control to navigate to the Page when clicked. To dynamically decide to go to a different Page in a Form instead of its first Page, gotoPage(…) can be executed in the Form’s beforeForm Event.

Pages in other Forms cannot be directly navigated to in this way, first you must navigate to the Form. The gotoForm(Form) API function works in a similar way to the gotoPage() function, changing to the first Page of the specified Form rather than to a Page in the current Form.

As each Form has its own URL a hyperlink can be used to navigate to a Form by setting its External URL property to <form name>.eb:

The URL of a Hyperlink Control can also be dynamically changed in scripts using the controls interface: