Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spry Validation Confirm Reference</title>
<script src="SpryValidationConfirm.js" type="text/javascript"></script>
<script src="../passwordvalidation/SpryValidationPassword.js" type="text/javascript"></script>
<link href="SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
<link href="../passwordvalidation/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
</head>
 
<body>
<form id="form1" name="form1" method="post" action="">
    <span id="sprypassword1">
        Password:
      <input type="password" name="password1" id="password1" />
        <span class="passwordRequiredMsg">A value is required.</span>
        <span class="passwordMinCharsMsg">The minimum number of characters not met.</span>
        <span class="passwordMaxCharsMsg">The maximum number of characters exceeded.</span>
        <span class="passwordInvalidStrengthMsg">The password strength condition not met.</span>
        <span class="passwordCustomMsg">User defined condition not met.</span>
    </span><br />
    <span id="spryconfirm1">
        Confirm:
        <input type="password" name="confirm1" id="confirm1" />
        <span class="confirmRequiredMsg">A value is required.</span>
        <span class="confirmInvalidMsg">The values don't match</span>
    </span>
    <br />    
    <input type="submit" name="submit" value="Submit" />
</form>
 
 
<script type="text/javascript">
<!--
var sprypass1 = new Spry.Widget.ValidationPassword("sprypassword1");
var spryconf1 = new Spry.Widget.ValidationConfirm("spryconfirm1", "sprypassword1", {validateOn: ['blur']});
//-->
</script>
</body>
</html>