v4 style
[freeside.git] / httemplate / elements / validate_password.html
1 <%doc>
2
3 To validate passwords via javascript/xmlhttp:
4
5   <INPUT ID="password_field" TYPE="text">
6   <DIV ID="password_field_result">
7   <& '/elements/validate_password.html', 
8      fieldid  => 'password_field',
9      svcnum   => $svcnum
10   &>
11
12 The ID of the input field can be anything;  the ID of the DIV in which to display results
13 should be the input id plus '_result'.
14
15 </%doc>
16
17 <& '/elements/validate_password_js.html', %opt &>
18
19 <SCRIPT>
20   add_password_validation('<% $opt{'fieldid'} %>', '<% $opt{'submitid'} %>', '<% $opt{'svcnum'} %>', '<% $opt{'contactnum'} %>');
21 </SCRIPT>
22
23 <%init>
24 my %opt = @_;
25 </%init>
26
27