[Ajax]

Takes 3 parameters, Trigger, DestinationID, Path

Description:

This Field Attribute causes the HtmlForm command to build an Ajax call to the serer any time the event trigger occurs, and then places the returned data from the server in the destination element on the page. The Ajax call to the server will include the data from all fields in the form.

Usage:

[Ajax] Trigger, DestinationID, Path
[Ajax] DestinationID, Path

If Trigger is not specified, an appropriate trigger, or set of triggers, is selected automatically based on the type of Field. Also, it is ok to use the [Ajax] Attribute on a Field more than once in order to specify additional Triggers.

DestinationID should be a unique ID of an HTML element that you have put elsewhere on the page or embedded in the Form, typically as a Note, Header, Footer, or Read Only Field.

Path is the URL the Ajax call should for the server side processing

Example:

See /Developers to see how the [Ajax] Field Attribute is used to update the Total Fruit Read Only Field which uses both Apples and Oranges to maintain a value of their sum.