use checkstate for checkboxes
This commit is contained in:
@@ -1543,12 +1543,16 @@ Public Class frmMassValidator
|
||||
Dim chk As CheckBox = oControl
|
||||
oMyControlInput = chk.Checked.ToString
|
||||
|
||||
If chk.Checked = False And _MUSSEINGABE = True Then
|
||||
If chk.CheckState = CheckState.Indeterminate And _MUSSEINGABE = True Then
|
||||
oMissing = True
|
||||
oErrorMessage = "Option '" & chk.Name & "' is required."
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If chk.CheckState = CheckState.Indeterminate Then
|
||||
LOGGER.Debug("Checkbox {0} is indeterminate. Skipping indexing.", chk.Name)
|
||||
Exit For
|
||||
End If
|
||||
|
||||
Dim result() As String
|
||||
ReDim Preserve result(0)
|
||||
|
||||
Reference in New Issue
Block a user