for 1:
in register.php it will work somehow similar, but i'll show you how to do in member.php
find that:
PHP Code:
$varname="field$profilefield[profilefieldid]";
if ($profilefield[required] and $$varname=="")
{
eval("standarderror(\"".gettemplate("error_requiredfieldmissing")."\");");
exit;
}
and change to:
PHP Code:
$varname="field$profilefield[profilefieldid]";
if (($profilefield[required] and $$varname=="") or ($profilefieldid == 2 and $$varname != "" and strlen($$varname)<5))
{
eval("standarderror(\"".gettemplate("error_requiredfieldmissing")."\");");
exit;
}
that will disallow all inputs smaller than lenght of 5 except no input