Data source for EmailValidator : EmailValidator « Data Model « Flex






Data source for EmailValidator

Data source for EmailValidator
     

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:PhoneNumberValidator id="pnV" source="{homePhoneInput}" property="text" />
    <mx:PhoneNumberValidator id="pnV2" source="{cellPhoneInput}" property="text" />
    <mx:EmailValidator id="emV" source="{emailInput}" property="text" />
    <mx:Panel title="My Application" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
        <mx:TextInput id="homePhoneInput" text="invalid phone number." />
        <mx:TextInput id="cellPhoneInput" text="(999)999-999" />
        <mx:TextInput id="emailInput" text="me@s.net" />
    </mx:Panel>
</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.Using the EmailValidator classUsing the EmailValidator class
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