Need write a flex application (form parser) to support creating dynamic forms based on XML configuration file(s). The application displays the form with predefined XML file, user enters/selects form values and clicks submit button, the application will do validation and write the fields'name and value into a XML output file
(format like :
<field name 1>field value 1</field name 1>
<field name n>field value n</field name n>
1. Support most form field types: Label, Text, TextArea, checkbox, radio button, radio group, comboBox, file selection etc.
2. support tab navigation, can group related fields into separated tabs
3. support rules to dynamic enable/disable fields based on user's selection. i.e. if you user select "Employed", the application can display another tab with all possible job titles; if you user select "Foreign country", the application should hide the US states selections
4. validation rules for required field, number validation, string validation etc which should be defined in the (same or separated) XML configuration file
5. loop through and write all fields' name and value into a XML output file, the tags' names will be same as the fields' names
6. support read-only mode and Edit mode, the input data file will be same as the output XML file format
7. it's nice to support style
8. inline documentation
I will only choose someone who can demonstrate knowledge of flex and understanding of requirement, it's best that you can provide me the xml configuration file to be parsed. hope it can be done in couple of days. I will have follow up project if it works well.
9. some fields (tabs) are initialized at begining, some are added dynamically after user selecting certain value in the combobox or radio group.
10. some fields are required only when user pick certain value. i.e. If you user select country "US", the postal code is required, otherwise it's optional.
11. all the validation errors should display to user after submit button .
1. displays the form (with fields, tabs)in edit mode based on the xml configuration files .
2. dynamically display new fields/tabs based on user's selection.
3. do validation (required, value, string etc.) after user clicks submit button.
4. present all the validation error(s) on the form if there is.
5. write the form's field name/value into one xml output file.
6. display the xml output file into the dynamic form with read only mode.
the deliverable package should include design/user documentation and source code with inline comments. the bug fixing should be included in the offer unless it's a requirement change.