Hello. I'm having trouble with a validation formula and I'm not sure why.
I'm using a Canvas Power App on my SharePoint Online list. I have a column "A" that is single line of text. I have another column "B" that is a choice, dropdown column. Column A contains a single word/single line of text. Column B choices are strings of text in a dropdown. When a user makes a choice in column B, I need a formula that will check Column A to see if the choice in B contains the word in column A.
If so, I do not want the user to be able to submit the update to the form. The formula I have tried is in the property OnSelect of my Submit button and reads:
If(Not(IsBlank(Find(DataCardValue3.Text,DataCardValue5.Selected.Value))),Notify("Invalid choice",NotificationType.Error)SubmitForm(SharePointForm1))
But the result is I'm able to submit my form even when my column B choice contains the word in column A. What do I have wrong here? Thank you in advance for your insights.