I have a text field i need to validate that text field with the following condtions using strings.
1. It should accept year (eg : 2006) 2. It should accept month (eg : 09/2006) 3. It should accept date (eg : 11/09/2006) 4. It should accept range (eg: 2006-2009) 5. Months (eg: 15 M) 6. years (eg: 5 y)
What you can do is . Create a userdefined control inherited from TextField and using regular expressions you can validate the text contained in the text field. [ December 29, 2005: Message edited by: Srinivasa Raghavan ]