Änderungen pw login checks undn design

This commit is contained in:
ja
2021-10-08 16:31:01 +02:00
parent e24cb9888c
commit e7c288b029
3 changed files with 8 additions and 4 deletions

View File

@@ -34,7 +34,7 @@
font-size: 11px;
border: 1px solid gray;
width: 400px;
height: 379px;
height: 400px;
}
#lbl_login {
color: #003680;

View File

@@ -18,7 +18,7 @@
<script type="text/javascript">
function FocusOnInput() {
document.getElementById("UserID").focus();
document.getElementById("CustomerID").focus();
}
</script>
<script type="text/javascript">
@@ -84,12 +84,12 @@
<asp:Label ID="CustomerIDLabel" runat="server" AssociatedControlID="CustomerID" CssClass="txt_design">Kundennummer:</asp:Label>
</td>
<td align="left">
<asp:TextBox ID="CustomerID" runat="server" required="true" Width = "240" ValidationGroup="txt_checkUID"></asp:TextBox>
<asp:TextBox ID="CustomerID" runat="server" required="true" Width = "240" ValidationGroup="txt_checkUID" OnTextChanged="CustomerID_TextChanged1"></asp:TextBox>
</td>
</tr>
<tr style="color:#003680; height:46px;">
<td align="left" colspan="2">
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ToolTip="Die Kundennummer ist erforderlich." ValidationGroup="txt_checkUID">Die Kundennummer ist erforderlich.</asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="CustomerIDrequired" runat="server" ControlToValidate="CustomerID" ToolTip="Die Kundennummer ist erforderlich." SetFocusOnError="true" ValidationGroup="txt_checkUID">Die Kundennummer ist erforderlich.</asp:RequiredFieldValidator>
</td><td>
<asp:RegularExpressionValidator ID="valid_getNumberInput" ControlToValidate="CustomerID" ValidationGroup="txt_checkUID" runat="server" Display="Dynamic" SetFocusOnError="true" ValidationExpression="<%=regexUID %>"></asp:RegularExpressionValidator>
</td>

View File

@@ -65,4 +65,8 @@ Partial Class login_login_TEST
Protected Sub CustomerID_TextChanged(sender As Object, e As EventArgs)
End Sub
Protected Sub CustomerID_TextChanged1(sender As Object, e As EventArgs)
valid_getNumberInput.Validate()
End Sub
End Class