<%doc> JavaScript to perform password validation <& '/elements/validate_password_js.html', contactnum => $contactnum, svcnum => $svcnum &> The ID of the input field can be anything; the ID of the DIV in which to display results should be the input id plus '_result'. <& '/elements/xmlhttp.html', 'url' => $p.'misc/xmlhttp-validate_password.html', 'subs' => [ 'validate_password' ], 'method' => 'POST', # important not to put passwords in url &> <%init> my %opt = @_;