CodeCharge Studio

Redirect Variable (PHP)

Applies to

Record Form, Grid Form, EditableGrid Form

Type

string

Access

read/write

Syntax

global $Redirect;
$Redirect [= value]

Description

If not empty, the browser is redirected to the URL specified by the contents of this variable.The Redirect variable is declared as a global variable at the top of the page and can therefore be accessed in most of the events that occur later on in the page.

Note: The Redirect variable can be modified in the Button's onClick event, if the Return Page property of this Button is empty.

Examples

Dynamically Redirect Users to Another Page


On-line, printable versions and updates