Hi,

Take a look at the docs:
http://livedocs.adobe.com/flex/3/langref/mx/controls/TextInput.html#restrict
For your case the solution might look like:
<mx:TextInput restrict="^ " />

Roman Protsiuk
Software Engineer/Engineering Team Lead

http://under.in.ua

Kyiv, Ukraine (GMT+2)
mobile: +38 097 321 56 54 email:
roman.prots...@gmail.com<%3C/span%3eroman.prots...@gmail.com>
 skype: roman.protsiuk
linkedin: http://www.linkedin.com/in/romanpv blogspot:
http://roma-ch.blogspot.com


On Sat, Oct 10, 2009 at 2:13 PM, Flex Boy <ca...@brannsikring.no> wrote:

>
>
>
>
> Hi mister..
>
> put all the characters taht are allowed in the restrict parameter
>
> if you use it as in Flex Doc. The following code allows the user to enter
> only uppercase letters (and not numbers or special characters) in the text
> field:
> A-Z , so if you are only restriting the Space you have to put in the whole
> alfabet and the numbers and special characters....
>
> <mx:TextInput restrict="aAbBcC0123456789" />
>
>
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, yogesh
> patel <mailtoyogeshpa...@...> wrote:
> >
> > Hi,
> >         I have textInput ,i do not want to allow space in this textinput-
> i dont want space,how to do this?
> >
> >
> >
> > Thanks & Regards,
> > Yogesh Patel
> >
> >
> >
> > Connect more, do more and share more with Yahoo! India Mail. Learn more.
> http://in.overview.mail.yahoo.com/
> >
>
>  
>

Reply via email to