Raja Islam's Technical blog

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.