summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main-contacts.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-08-29 14:09:58 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-08-29 14:09:58 -0400
commitded6a5654efd56d2f271970c992133600e0223b1 (patch)
tree15c1e3ad4e052881609573757ac1ae96a11dfead /httemplate/edit/cust_main-contacts.html
parent5df83a73541d983c51eff47e875cf63fc45e53ff (diff)
RT# 75817 - updated UI to be more intuitive
Diffstat (limited to 'httemplate/edit/cust_main-contacts.html')
-rw-r--r--httemplate/edit/cust_main-contacts.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html
index 76929a7c9..3783cb9e9 100644
--- a/httemplate/edit/cust_main-contacts.html
+++ b/httemplate/edit/cust_main-contacts.html
@@ -4,6 +4,19 @@ Hmm, this is now entirely redundant with edit/cust_main/contacts_new.html, and
this one isn't being maintained well. :/
</%doc>
+
+ <SCRIPT>
+function checkPasswordValidation(fieldid) {
+ var validationResult = document.getElementById(fieldid+'_result').innerHTML;
+ if (validationResult.match(/Password valid!/)) {
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+</SCRIPT>
+
<& elements/edit.html,
'name_singular' => 'customer contacts', #yes, we're editing all of them
'table' => 'cust_main',