Go to Admin :
Admin -> Configuration -> Minimum Values -> Entry First Name Min Length -> Catalog
You can set here the values. Then where you want to set the Javascript Validation in your Style.
More Details Reference : http://www.zen-cart.com/wiki/index.php/Admin_-_Configuration_-_Minimum_Values_-_Entry_First_Name_Min_Length_-_Catalog