The
onFieldValueChanged event can be used to trigger an action when the value of a column is modified. In this example the event is used to get the
City and
State values when the
Zip Code is modified. The example also demonstrates use of the client-side
executeSingletonQuery method which can be used to select values from the database directly to the client-side code.