AdvancedForm

Advanced Form Example - (Flex 2 / Flash Player 9)

Ver 1.2 - 2006.11.14 - Source - Documentation

Overview:
The AdvancedForm component provides Reset, Undo and Redo functionality.

Undo and Redo are accessed by pressing “ctrl-Z” and “ctrl-Y” repsectively.

Simple validation support has been added. The AdvancedForm searches for all
Validators in the same document as the form and sets Valid/Invalid listeners.
It then tracks all valid/invalid changes with a bindable “isValid” property.

The current component supports TextInput, TextArea, NumericStepper, RadioButton, CheckBox, and ComboBox. They must be children of the Form or Form.FormItem components.

Tutorial:

The AdvancedForm component provides enhances the basic Form component with common requested features. The component extends the Form component and is used in the same way.

Click on the source link above to view an example application.

To use the validation features all you need to do is place the AdvancedForm in the same document scope as the Validators. The AdvancedForm will properly register the Validators and set the “isValid” property. You then use the “isValid” property to bind to anything button or other functionality that needs to check if the Form as a whole is valid.

You can find this component as well as others over at the FlexLib (Open Source Flex 2 Component Library) on googlecode.com.


About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Categories

Links

Feeds


Flex.org - The Directory for Flex