The tab character is in the restrict -- I checked -- but it isn't alowing 
the tab character through.  I may have to extend the textarea and use some 
sort of regular expression to allow it.  But I shouldn't have to according 
to the docs.  I should be able to specify ascii codes somehow.

And I must apologize to all -- I oversimplified the original usage and led 
some of you astray.  I'm doing this to provide a bulk upload capability into 
a datagrid to meet a specific requirement.  The user isn't entering the tab 
character.  They are cutting and pasting columns from Excel into the 
textarea.  When this happens, Excel automatically puts tabs (\t) between the 
cells and \n at the end of every row.   I can easily parse the \t \r 
combinations from the textarea into an array collection.  So far it works 
great if I don't restrict.  I suppose I could eliminate offending characters 
when I parse but using the restrict was very elegant.  It just cleaned 
everything up in one shot.

I hadn't really considered allowing the users to type in a tab.  I'm kinda 
glad I oversimplified -- you folks gave me some very good ideas on how to 
handle that.

----- Original Message ----- 
From: "Kerry Jordan" <[email protected]>
To: <[email protected]>
Sent: Thursday, June 10, 2010 7:43 AM
Subject: Re: [flexcoders] TextArea -- allow tab character in restrict 
property


So using "A-Z0-9\- " didn't work? To what code did the " " character
equate? (That should be a tab character and not a space character...)

Kerry

On Thu, Jun 10, 2010 at 5:47 AM, Warren <[email protected]> wrote:
>
> sure -- if I could figure out how to indicate ascii character codes in the 
> restrict clause. I've tried adding \x09 and \u0009 with no luck.
>
> ----- Original Message -----
> From: Kerry Jordan
> To: [email protected]
> Sent: Wednesday, June 09, 2010 1:49 PM
> Subject: Re: [flexcoders] TextArea -- allow tab character in restrict 
> property
>
>
> On Wed, Jun 9, 2010 at 1:36 PM, Warren <[email protected]> wrote:
> > I have a Flex 3 textarea with restrict = "A-Z0-9\-". I want to let users 
> > enter a tab cahracter but I can't figure out how to change the restrict 
> > property to allow it.
> >
>
> Couldn't you simply enter a tab between the restrict quotes (i.e.,
> "A-Z0-9\- ")? Or maybe I'm missing something?
>
> Kerry
>
>


------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to