hub.eb?material_id=348&track_id=350

URL Navigation


You can navigate between Forms using a Hyperlink Control by setting the following properties in its Properties View:

  • Link is External set to true.
  • External URL the name of the Form with a .eb extension, for example, myForm.eb
  • Hyperlink Target open the Form in the same browser tab or open a new one.

When navigating between Forms in this way the current Form's state is not lost, so its Field values are restored if the Form is returned to using the browser's back button.

A Form's state will still timeout after a period of end-user inactivity however, and pressing the back button after the timeout will result in a new Form state being created in the End-User's Session, resetting Field values.

Additionally, you can use hyperlinks to navigate within the current page by setting the External URL to the id of an element. For example, to navigate to a Panel Control, set it's id to myPanelControlId in the Control's HTML Elements Properties and set the Hyperlink Control's External URL to #myPanelControlId.

Steps


1

Create two Forms and name them urlOne and urlTwo.

2

Add a Hyperlink Control to Form urlOne's Page with the text: Go to Form Two.

Set its External URL to urlTwo.eb.

3

Add a Field called myField to Form urlOne and drag it on to its Page as a Field Control.

Also add a  Button Control with the text: Save

4

Add a Text Control to Form urlTwo's Page with the text: Form Two.

5

Run  Form urlOne and add a value to the Field.

Click the Save button to submit the Field value.

Click the Go to Form Two hyperlink to navigate to Form urlTwo.

Press the browser's back button to return to Form urlOne. Note that the Field value is unchanged.

Current Module

Related