From 7bc6903bac6439f2bcfeb7c842779904c4b59e68 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 4 Sep 2018 08:32:21 -0400 Subject: [PATCH] RT# 75817 - added new file to hold javascript for password validation --- httemplate/elements/validate_password_js.html | 71 +++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 httemplate/elements/validate_password_js.html diff --git a/httemplate/elements/validate_password_js.html b/httemplate/elements/validate_password_js.html new file mode 100644 index 000000000..64db0a97b --- /dev/null +++ b/httemplate/elements/validate_password_js.html @@ -0,0 +1,71 @@ +<%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 = @_; + \ No newline at end of file -- 2.11.0