Customizing a Flex TextInput control’s error color
by Sameera Thilakasiri on 7th February 2010 at 4:42 pm - Action Script 3.0, Flex 3
The following example shows how you can customize a Flex TextInput control’s error color and error string using the errorColor style and errorString property.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application <a href="http://jtc-enterprises.com/images/">buy cialis tadalafil</a> xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:ApplicationControlBar dock="true">
<mx:Label text="errorColor:" />
<mx:ColorPicker id="colorPicker" />
</mx:ApplicationControlBar>
<mx:Form>
<mx:FormItem label="text:" required="true">
<mx:TextInput id="textInput"
errorColor="{colorPicker.selectedColor}"
errorString="Custom error color" />
</mx:FormItem>
<mx:FormItem>
<mx:Button />
</mx:FormItem>
</mx:Form>
</mx:Application>
Incoming search terms:
- textinput errorcolor (4)
- flex change errorColor (3)
- flex textinput error (2)
- flex textinput error skin (2)
- flex inputtext error style -errortip (1)
- flex TextInput deselect (1)
- flex textinput error style (1)
- flex textinput error tip (1)
- flex textinput errorstring style (1)
- flex textinput show error (1)
- flex textinput skin errorstring (1)
- flex textinput utf8 (1)
- jquery textinput control (1)
- mx:textinput errorcolor (1)
- Skinning Flex Mobile TextInput (1)
Sameera at LinkedIn