CodeCharge Studio

AJAX - Condition (special feature)

Description

The Condition is a special feature that compares two values and then the result is used as criteria upon which other AJAX features can be enabled or executed.

Condition can be used in a similar way to events, where a conditional event is fired when something no longer meets a specific criteria.  e.g. when a field value changes from "" (empty) to some other value. 

Supported Components

All forms and controls

Properties

Property Description
Condition A boolean condition, such as "=" or less than, to be used when comparing two values.
Parameter 1 Name of the first variable whose value is to be compared. 
Source Type The type of the first variable containing the value to be compared. Available source types are: Expression, URL, Cookie, Control.
Parameter 2 Name of the second variable whose value is to be compared. 
Source Type The type of the second variable containing the value to be compared.
Start event Client event or condition upon which the comparison is being made. You can select one or more events.

Sample Implementation

See also

   


On-line, printable versions and updates