I have about 100 form fields on a flash form. I want to process the information in the form fields by looping through the form fields and capturing the names and values into array. The fields were created manually and I want to process the data dynamically.
There are a mixture of text boxes, check boxes, radio buttons and combo boxes with field names that have a prefix of txt, chk, rbn and cmb respectfully. I plan on checking the first 3 characters of the field name to determine the type of field.
The Goal: No matter how many fields get added I never have to touch my code again.
How can i accomplish this?
I am using ActionScript 2.0 Thanks