Re: [flexcoders] Re: Restricting characters in User input controls

2009-03-05 Thread kotha poornima
Hi,
Initially thanks for responding but ' #034; is not working.
This is how i solved the issue.
private function setRestrict():void{
txtInput.restrict = ^'\;
}
mx:TextInput id=txtInput initialize=setRestrict()/

Thanks
Poornima




From: pavan kumar srinivasan_pa...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, March 4, 2009 11:37:43 AM
Subject: [flexcoders] Re:  Restricting characters in User input controls


Try using  ' #034;'  instead of the double quote char

Regards,
Pavan Kumar S

--- On Tue, 3/3/09, kotha poornima poorni_agile@ yahoo.com wrote:

 From: kotha poornima poorni_agile@ yahoo.com
 Subject: Fw: [flexcoders] Restricting characters in User input controls
 To: flexcoders flexcod...@yahoogro ups.com
 Date: Tuesday, 3 March, 2009, 11:59 PM
 Hi All,
 Can anyone give me an idea how i can solve this.
 
 Thanks in Advance,
 Poornima
 
 - Forwarded Message 
 From: kotha poornima poorni_agile@ yahoo.com
 To: flexcoders flexcod...@yahoogro ups.com
 Sent: Tuesday, March 3, 2009 5:20:18 PM
 Subject: [flexcoders] Restricting characters in User input
 controls
 
 
 Hi,
 I want to exclude single quotes and double quotes in the
 user input
 So i coded the statement like this: 
 mx:TextArea id=txtInput
 restrict=^’\ /
 
 But iam getting error like this:(Iam not able to exclude
 double quotes)
 Element type mx:TextArea must be followed by
 either attribute specifications,  or
 /
 
 Can anyone help me out of this.
 
 Thanks in Advance,
 Poornima

Unlimited freedom, unlimited storage. Get it now, on http://help. yahoo.com/ 
l/in/yahoo/ mail/yahoomail/ tools/tools- 08.html/

   


  

[flexcoders] Re: Restricting characters in User input controls

2009-03-04 Thread pavan kumar
Try using  ' #034;'  instead of the double quote char

Regards,
Pavan Kumar S



--- On Tue, 3/3/09, kotha poornima poorni_ag...@yahoo.com wrote:

 From: kotha poornima poorni_ag...@yahoo.com
 Subject: Fw: [flexcoders] Restricting characters in User input controls
 To: flexcoders flexcoders@yahoogroups.com
 Date: Tuesday, 3 March, 2009, 11:59 PM
 Hi All,
 Can anyone give me an idea how i can solve this.
 
 Thanks in Advance,
 Poornima
 
 - Forwarded Message 
 From: kotha poornima poorni_ag...@yahoo.com
 To: flexcoders flexcoders@yahoogroups.com
 Sent: Tuesday, March 3, 2009 5:20:18 PM
 Subject: [flexcoders] Restricting characters in User input
 controls
 
 
 Hi,
 I want to exclude single quotes and double quotes in the
 user input
 So i coded the statement like this: 
 mx:TextArea id=txtInput
 restrict=^’\ /
 
 But iam getting error like this:(Iam not able to exclude
 double quotes)
 Element type mx:TextArea must be followed by
 either attribute specifications,  or
 /
 
 Can anyone help me out of this.
 
 Thanks in Advance,
 Poornima


  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/