ijourneaux Posted March 7, 2011 Posted March 7, 2011 I am probably going to kick myself on this but I cant seem to get a simple format to work with _RegEx_RestrictControl_add. The format gets added with out an error but I cant' enter enything in the input field. I am looking to restrict input to a letter and 4 numbers _RegEx_RestrictControl_add ($JobNumber, "^[A-Z]{1}[0-9]{4}$","K1234") With this I cant enter anything in the field. Also It doen't appear that you can backspace to remove the first character? I think that was mentioned in some of the posts as well. Was this resolved or is it just something you ahve to live with. Other examples use RegexStringReplace directly. Any recomendations on the best approach to limiting user data entry?
Moderators SmOke_N Posted March 7, 2011 Moderators Posted March 7, 2011 Guess you're assuming we know non-standard UDF/Otherwise functions? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
ijourneaux Posted March 7, 2011 Author Posted March 7, 2011 Just hoping someone else was using the _RegEx_RestrictControl_add UDF.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now