Tag Archives: validation

Validating multiple fields with one validator in Flex3

I like laying out forms in MXML because it’s easy to read. In a recent project, I had five email fields and it looked something like this: <mx:Form id="myForm"> <mx:FormItem label="1." labelStyleName="tenEmailsLabel"> <mx:TextInput id="email1" width="300" fontSize="13" /> </mx:FormItem> <mx:FormItem label="2." labelStyleName="tenEmailsLabel"> <mx:TextInput id="email2" width="300" fontSize="13" /> </mx:FormItem> <mx:FormItem label="3." labelStyleName="tenEmailsLabel"> <mx:TextInput id="email3" width="300" fontSize="13" /> </mx:FormItem> <mx:FormItem label="4." labelStyleName="tenEmailsLabel"> [...]
Posted in Software | Also tagged , , | Comments closed

Small tool tips for Adobe Flex validation errors

If you are using Adobe Flex forms, chances are you have come across validators. I do not like the way validators work out of the box, and it is a real pain to work against them. I will post a better way to validate your forms later. For now, I want to [...]
Posted in Software | Also tagged , , , , | Comments closed