Validatoren anpassungen

This commit is contained in:
ja
2021-11-19 12:02:48 +01:00
parent 4de142e289
commit 528b721903

View File

@@ -275,8 +275,8 @@
<tr style="color:#003680;height:30px;">
<td>
<asp:CompareValidator ID="confirmPasswordReq" style="margin-left:32px;" Enabled="false" runat="server" ControlToCompare="txt_Pw" ControlToValidate="txt_Pw_WH" ErrorMessage="Please try again! The passwords didn't match." Display="Dynamic" ForeColor="Red"></asp:CompareValidator>
<asp:RegularExpressionValidator ID="regexval_txt_Pw" style="margin-left:32px;" Enabled="false" runat="server" ControlToValidate="txt_Pw" ValidationGroup="TXT_val" ForeColor="Red" ValidationExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ErrorMessage="The Password has to match the criterias of the info-button." SetFocusOnError="true"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="regexval_txt_Pw_WH" style="margin-left:32px;" Enabled="false" runat="server" ControlToValidate="txt_Pw_WH" ValidationGroup="TXT_val" ValidationExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ForeColor="Red" ErrorMessage="The Password has to match the criterias of the info-button." SetFocusOnError="true"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="regexval_txt_Pw" style="margin-left:32px;" Enabled="false" runat="server" ControlToValidate="txt_Pw" ValidationGroup="TXT_val" ForeColor="Red" ValidationExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ErrorMessage="The Password has to match the criterias above." SetFocusOnError="true"></asp:RegularExpressionValidator>
<asp:RegularExpressionValidator ID="regexval_txt_Pw_WH" style="margin-left:32px;" Enabled="false" runat="server" ControlToValidate="txt_Pw_WH" ValidationGroup="TXT_val" ValidationExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{4,35}$" Display="Dynamic" ForeColor="Red" ErrorMessage="The Password has to match the criterias above." SetFocusOnError="true"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>