diff options
Diffstat (limited to 'framework/Wsat/pages/TWsatLogin.page')
-rw-r--r-- | framework/Wsat/pages/TWsatLogin.page | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Wsat/pages/TWsatLogin.page b/framework/Wsat/pages/TWsatLogin.page index b256d719..d0a94f2a 100644 --- a/framework/Wsat/pages/TWsatLogin.page +++ b/framework/Wsat/pages/TWsatLogin.page @@ -29,9 +29,10 @@ <div class="login_form"> <com:TLabel Text="Please enter your password:" ForControl="password"/><br/> <com:TTextBox ID="password" TextMode="Password" style="margin: 5px" /><br/> - <com:TRequiredFieldValidator ControlToValidate="password" Text="Password cannot be blank." /><br/> - - <com:TButton Text="Enter" OnClick="login" /> + <com:TRequiredFieldValidator ControlToValidate="password" ValidationGroup="loginGroup" Text="Password cannot be blank." /><br/> + <com:TCustomValidator ControlToValidate="password" ValidationGroup="loginGroup" OnServerValidate="validatePassword" Text="Incorrect password." /> + + <com:TButton Text="Enter" ValidationGroup="loginGroup" OnClick="login" /> </div> <div id="footer"> |