Blackbaud Required
To make field required we use this script using UI Model
Private Sub cboEmailType_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txt_NAME.TextChanged
Dim required As Boolean = Len(txt_NAME.Text) > 0
‘Tell base class to make the textbox for email required.
MyBase.FieldIsRequired(txt_EMAILADDRESS_EMAILADDRESS) = required
End Sub