summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-28 09:57:14 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-28 09:57:14 -0400
commit9e9168c1e83f5e33e3a09299a3e72d0d9ae7a237 (patch)
tree4e00369dbeb9a09aacd68dce767eaf76aee2dce0 /httemplate/edit/cust_main
parent66b90d3d395a6bace7d3d73743fbd3dc54bda8b6 (diff)
RT# 75817 - fixed issue with contact edit on edit customer page
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r--httemplate/edit/cust_main/contacts_new.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/contacts_new.html b/httemplate/edit/cust_main/contacts_new.html
index 1171e7df4..90314258d 100644
--- a/httemplate/edit/cust_main/contacts_new.html
+++ b/httemplate/edit/cust_main/contacts_new.html
@@ -1,3 +1,17 @@
+<SCRIPT>
+ function checkPasswordValidation(fieldid) {
+ var validationResult = document.getElementById(fieldid+'_result').innerHTML;
+ if (validationResult.match(/Password valid!/)) {
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
+</SCRIPT>
+
+<& '/elements/validate_password_js.html', &>
+
<DIV ID="contacts_div" STYLE="display:<% $display %>">
<BR>
<FONT CLASS="fsinnerbox-title">Contacts</FONT>
@@ -5,6 +19,7 @@
'embed' => $opt{cust_main},
'table' => 'cust_main',
'agent_virt' => 1,
+ 'submit_id' => $opt{submit_id},
'html_table_class' => 'fsinnerbox',
'labels' => { 'contactnum' => '', #'Contact',
#'locationnum' => '&nbsp;',