Hello,
I have a problem with this formula:
If(DataCardValue18.Selected.Value =! "Legal Law";true;false) && !IsBlank(DataCardValue22.Text); Notify("To write a text you need a Legal Law category.";
It prints error : (Incompatible Type. We can't evaluate your formula because the values being compared in the formula aren't the same type.
And does not work.
I DataCardValue18 is a combo box multi choice - DataCardValue22 is a text field that is active only if Legal Law is provided in DataCardValue18.
Right now in my app you can set legal law category for a second and provide a datacardvalue22 value - then you can uncheck this category and the text will remain.
I want to avoid it with this validation.
I also tried to:
If("Legal Law" not in DataCardValue18.SelectedItems.Value && !IsBlank(DataCardValue22.Text);
Notify("Description.";
NotificationType.Error);
Not to seems not to work.
There might be not enough )))) at the end but it is because this is a part of a bigger formula.
Everything seems to work bot not this...