Hello Everyone.
I have a custom form.
In the custom form I have two combo boxes. In the first one I am selecting the name.
In the second one I am selecting the same person's email.
The name I select in the first combo box would filter the email of the person automatically. But maybe someone changes it and enters some one else's email.
So, I want to set a validation on submission of the form.
Here is how the form looks like:

Current expression on add button:
If( IsBlank(Dropdown1_42.Selected)||IsBlank(ComboBox2_2.SelectedItems)||IsBlank(ComboBox2_7.SelectedItems),
Notify("Please fill all Required Data.", NotificationType.Error),
Patch(Personnel,
Defaults(Personnel),
{
Role: Dropdown1_42.Selected,
Name: ComboBox2_7.Selected.DisplayName,
Email: ComboBox2_2.Selected.Mail,
ID: If(varEdit,varData.ID,varnewData.ID)
}
);Reset(Dropdown1_42);Reset(ComboBox2_7);Reset(ComboBox2_2)
)
So here above I want a filter with blank check like combobox 2_7 . selected name = combo box 2_2 . selected email's name
if not I wills show error otherwise submit the data.
@WarrenBelz @FLMike @Amik @BCBuizer @SpongYe