Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a minimum password
Message
From
13/01/2011 12:34:21
 
 
To
12/01/2011 11:47:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01495915
Message ID:
01496051
Views:
38
>Hello
>Im trying to create a password field for an application. I already set
>the max size to ten in the database. but im wondering how should i go about setting
>the min size of that field since there isnt a minimum property.
>Is there anyway i can count the 'items' in the ".value" of the text box then create a statement that throws an error when the count of the "items" in the textbox field is less than 8?
>or is there any other way to go about doing this?

If you want to enforce true complexity you could use a regex.
Here's a neat example:http://davidhayden.com/blog/dave/archive/2004/09/25/501.aspx
Previous
Reply
Map
View

Click here to load this message in the networking platform