X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=48b5e2ce236e891af1909d9fa260f038ca85b510;hb=15af7d37742ff7511004dafc5f6190cb1f19540a;hp=5fa8ae48514a40b2e26a58a3ef10a3aeef59a300;hpb=4e00b1e784fdb369fefd538f27c1ac465e5abc9a;p=freeside.git diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 5fa8ae485..48b5e2ce2 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -103,7 +103,7 @@
<% $label{$field} %> % if ( $field eq 'password' ) { -
+
% } % } @@ -191,8 +191,10 @@ $label{'comment'} = 'Comment'; my @fields = $opt{'name_only'} ? qw( first last ) : keys %label; +my $submitid = $opt{'submit_id'} ? $opt{'submit_id'} : 'submit'; + my $js = qq( - add_password_validation('changepw$id\_password', 'submit', '', '$contactnum'); + add_password_validation('changepw$id\_password', '$submitid', '', '$contactnum'); var selfService = document.getElementById("$id\_selfservice_access").value;