X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=199f5cb535ac493aaf1d86837124bdc02efa7ed8;hp=fef189e0c87d2298da6844f9bbb710ee9472e608;hb=088d455c563ca3b75be357727622d968e49b3ed1;hpb=d2e995622cff5402cd887abad948a986a3ceba82 diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index fef189e0c..199f5cb53 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -165,8 +165,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;