Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting a minimum length to a password field

Status
Not open for further replies.

ems

Programmer
Mar 23, 2001
13
IE
I need to set a minimum length of 4 to a Student ID field in the Login screen of my application. I know there is a max property available. How do I set the minimum property?
 
You could always validate the entry:

If Len(sPwd) < 4 Then
'Retry
End If
 
Thanks dsi.
I have done that. Just checking if there was a min property.
This works just as well though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top