<mx:TextArea id="txtInput" restrict="^’\\"" />



  ----- Original Message ----- 
  From: kotha poornima 
  To: flexcoders 
  Sent: Tuesday, March 03, 2009 8:50 AM
  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





  

Reply via email to