I have a TextField as:
<s:TextInput restrict="A-Z0-9_" maxChars="30"/>
And I am restricting the input to:
- Capital letters
- Numbers
- _
- no spaces
- max chars 30
How can I restrict the input more to allow only letters at the begging and end?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The restrict-field validates immediately when the user types in something.
You need an RegExp-Validator to validate after the user wants to submit the data, so you can’t use the restrict-field.