3 To validate passwords via javascript/xmlhttp:
5 <INPUT ID="password_field" TYPE="text">
6 <DIV ID="password_field_result">
7 <& '/elements/validate_password.html',
8 fieldid => 'password_field',
10 pkgnum => $pkgnum, # used if the service doesn't exist yet
13 The ID of the input field can be anything; the ID of the DIV in which to display results
14 should be the input id plus '_result'.
18 <& '/elements/validate_password_js.html', %opt &>
21 add_password_validation('<% $opt{'fieldid'} %>', '<% $opt{'submitid'} %>', '<% $opt{'svcnum'} %>', '<% $opt{'contactnum'} %>');