Re: [flexcoders] Email in TextInput

2010-03-23 Thread Oleg Sivokon
Tom. Well, I'm not implying it may be used. However, Flex framework validator may not be used as well, but it is never mentioned in any comments ;) Most notably it will not allow local network e-mail addresses (that is the addresses, where there is only one domain level - postmas...@localhost for e

Re: [flexcoders] Email in TextInput

2010-03-23 Thread Tom Chiverton
On Tuesday 23 Mar 2010, Oleg Sivokon wrote: > const allowedInDomain:String = ".-0123456789qwertyuiopasdfghjklzxcvbnm"; Right, you absolutely should not be using this in production. http://en.wikipedia.org/wiki/Internationalized_domain_name -- Helping to preemptively participate virtual principl

Re: [flexcoders] Email in TextInput

2010-03-22 Thread Oleg Sivokon
Opps, sorry, wrong link: http://tools.ietf.org/html/rfc822

Re: [flexcoders] Email in TextInput

2010-03-22 Thread Tom Chiverton
On Monday 22 Mar 2010, Christophe wrote: > How to verify that a mx:TextInput content is a valid email address ? http://livedocs.adobe.com/flex/3/html/validators_2.html#129011 -- Helping to continuously entrench interactive best-of-breed 24/7 best-of-breed clusters as part of the IT team of the

Re: [flexcoders] Email in TextInput

2010-03-22 Thread Oleg Sivokon
Validating e-mail address is quite a task... See this for what the requirements are: http://tools.ietf.org/html/rfc3696#section-4.3 There is the EmailValidator in the validators library provided with SDK, but it is doing it wrong - don't use it. Best way is to write your own, so far this is what I

[flexcoders] Email in TextInput

2010-03-22 Thread Christophe
Hello, How to verify that a mx:TextInput content is a valid email address ? Thx, Christophe,