X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=48b5e2ce236e891af1909d9fa260f038ca85b510;hb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7;hp=909ff7893dd9dabb743a9d42ae878950b9aa1269;hpb=40062272379e4c32add419f839da60742719da2d;p=freeside.git diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 909ff7893..48b5e2ce2 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -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;