Using the EmailValidator class : EmailValidator « Data Model « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Data Model » EmailValidatorScreenshots 
Using the EmailValidator class
Using the EmailValidator class
     
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Form id="contactForm">
    <mx:FormItem id="homePhoneItem" label="Home Phone">
      <mx:TextInput id="homePhoneInput" />
    </mx:FormItem>
    <mx:FormItem id="cellPhoneItem" label="Cell Phone">
      <mx:TextInput id="cellPhoneInput" />
    </mx:FormItem>
    <mx:FormItem id="emailItem" label="Email">
      <mx:TextInput id="emailInput" />
    </mx:FormItem>
  </mx:Form>
  <mx:PhoneNumberValidator id="pnVHome" source="{homePhoneInput}" property="text" />
  <mx:PhoneNumberValidator id="pnVCell" source="{cellPhoneInput}" property="text" />
  <mx:EmailValidator id="emV" source="{emailInput}" property="text" />
</mx:Application>

   
    
    
    
    
  
Related examples in the same category
1.Using ActionScript to validate EmailUsing ActionScript to validate Email
2.Email address validationEmail address validation
3.Using a submit button to validate form fieldsUsing a submit button to validate form fields
4.Use EmailValidator to validate email cell editorUse EmailValidator to validate email cell editor
5.Data source for EmailValidatorData source for EmailValidator
6.Using EmailValidatorUsing EmailValidator
7.Validate Email With ActionScriptValidate Email With ActionScript
8.Use new line character to error messageUse new line character to error message
ww_w___._j___a___v__a__2___s_.__c__o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.