I would like to manually edit a listview and use the password strength checker only the checkPasswordMatch function is asking for the correct client ID
Can I stick this is a script or code block and get it to work?
Thanks, Marty
function
checkPasswordMatch() {
var
text1 = $find(
"<%=PasswordInput1.ClientID %>"
).get_textBoxValue();
var
text2 = $find(
"<%=PasswordInput2.ClientID %>"
).get_textBoxValue();
if
(text2 ==
""
) {
$get(
"PasswordRepeatedIndicator"
).innerHTML =
""
;
$get(
"PasswordRepeatedIndicator"
).className =
"Base L0"
;
}
else
if
(text1 == text2) {
$get(
"PasswordRepeatedIndicator"
).innerHTML =
"Match"
;
$get(
"PasswordRepeatedIndicator"
).className =
"Base L5"
;
}
else
{
$get(
"PasswordRepeatedIndicator"
).innerHTML =
"No match"
;
$get(
"PasswordRepeatedIndicator"
).className =
"Base L1"
;
}
}
Can I stick this is a script or code block and get it to work?
Thanks, Marty