CodeCharge Studio

Ajax - Condition (special feature)

Description

The Condition is a special feature that compares two values and allows to use the result as criteria upon which other Ajax features can be enabled or executed.
Condition can be used in a similar way to events, where conditional event is fired when the result of specified criteria changes from false to true or vice-versa.

Supported Components

All forms and controls

Properties

Property Description
Condition Operator to be used when comparing two values.
Name Name of the first variable whose value is to be compared. 
Source Type The type of first variable containing value to be compared. Available source types are: Expression, URL, Cookie, Control.
Name (2nd occurrence) Name of the second variable whose value is to be compared. 
Source Type The type of second variable containing value to be compared.
Start event Client event or condition upon which the comparison is being made and Condition feature executed. You can select one or multiple events via the provided dialog.

Sample Implementation

See also

   


On-line, printable versions and updates