Änderungen validatoren und GUIDesign

This commit is contained in:
ja
2021-11-19 08:50:48 +01:00
parent 60fd88555a
commit e030a3b1ea
4 changed files with 43 additions and 29 deletions

View File

@@ -35,6 +35,9 @@ Partial Class ForgotPW
Dim isCustomeridright As Boolean = False
Dim isemailright As Boolean = False
Dim UserID As String = String.Empty
CustomerIDrequired.Validate()
valreqtxtusername.Validate()
valreqtxtEmail.Validate()
If String.IsNullOrEmpty(txtEmail.Text) = False And String.IsNullOrEmpty(txt_Username.Text) = False And String.IsNullOrEmpty(txt_CustomerID.Text) = False And String.IsNullOrEmpty(txtEmail_M.Text) = True And String.IsNullOrEmpty(txt_Username_M.Text) = True And String.IsNullOrEmpty(txt_CustomerID_M.Text) = True Then
valreqtxtusername.Enabled = True
valreqtxtEmail.Enabled = True
@@ -273,6 +276,9 @@ Partial Class ForgotPW
Dim isusernameright As Boolean = False
Dim isuserIDright As Boolean = False
Dim isuserEmailright As Boolean = False
CustomerID_M_required.Validate()
valreqtxtusername_M.Validate()
valid_getNumber_M_Input.Validate()
'Mobil
If String.IsNullOrEmpty(txtEmail_M.Text) = False And String.IsNullOrEmpty(txt_Username_M.Text) = False And String.IsNullOrEmpty(txt_CustomerID_M.Text) = False And String.IsNullOrEmpty(txtEmail.Text) = True And String.IsNullOrEmpty(txt_Username.Text) = True And String.IsNullOrEmpty(txt_CustomerID.Text) = True Then
valreqtxtusername.Enabled = False