to limit the " character you need to use the escape character before the double quote \" should limit it out. A regex hand book is suggested, more then reasonably priced and really help out with things like this.
--- In flexcoders@yahoogroups.com, "Brian Dunphy" <[EMAIL PROTECTED]> wrote: > > As a side question... is there any way to restrict double quotes from > being entered? Obviously restrict=""" wil not compile. > > Can you use character codes in there? > > Thanks, > > Brian > > On 11/30/06, Gordon Smith <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > From the ASDoc for the 'restrict' property of TextInput: > > > > > > > > "Flex scans the string from left to right. You can specify a range by using > > the hyphen (-) character. If the string begins with a caret (^) character, > > all characters are initially accepted and succeeding characters in the > > string are excluded from the set of accepted characters. If the string does > > not begin with a caret (^) character, no characters are initially accepted > > and succeeding characters in the string are included in the set of accepted > > characters." > > > > > > > > So it sounds like restrict="^a-z" should work. > > > > > > > > - Gordon > > > > > > > > ________________________________ > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of boy_trike > > Sent: Wednesday, November 29, 2006 8:49 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Upper Case ONLY in text fields > > > > > > > > > > > > > > I have an address field (textinput) that I want to NOT allow lowercase. > > (Using the restrict > > property does not work since I want to allow numbers, #, $, etc. and I can > > not think of all the > > characters) Is there an easy way to restrict lower case letters? > > > > Thanks > > > > Bruce > > > > > > > > > > > -- > Brian Dunphy >