C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Text validation for TextInput in Flex


Posted Date: 20 Jun 2008    Resource Type: Code Snippets    Category: Regular Expressions
Author: DharmarajMember Level: Diamond    
Rating: Points: 3



In flex, a text input is a textbox. In forms, we always have a requirement to validate user input before accepting the form completely.

In flex, we can restrict input with the following code.


<mx:TextInput restrict="A-Z a-z 012345689" />


The example code above restricts the input text to only alphanumeric characters. The restrict attribute of a TextInput facilitates such a restriction.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Using restrict attribute to validate text  .  Using restrict attribute of TextInput  .  TextValidation for TextInput in Flex  .  Text validation in flex  .  Text validation for TextInput  .  Restrict attribute of a TextInput  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How to remove trailing & leading spaces with regular expression in c#
Previous Resource: Remove Trailing Zeroes From a String in C# using Regular Expressions
Return to Discussion Resource Index
Post New Resource
Category: Regular Expressions


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use