IsMatch(textBox.Text, "Select x"),
doSomethingCool,
beLame
)
I tested this. It works. Here are the docs. When in doubt, consult Mr. Dang (a true treasure to the PowerApps community)!
Ok. I am actually wanting a Patch to NOT run if the value of the dropdown = "Select..." . Is there an opposite of IsMatch?
This is part of a repeating table that I have designed. The Patch will write values to my SharePoint list ('Revenue Pre-Defined Categories'). One of the fields in my repeating table is a dropdown and I dont want it to write to SharePoint if that dropbown has not been set to something other than Select.
ForAll(RevenuePreDefinedCollection, Patch('Revenue Pre-Defined Categories', Defaults('Revenue Pre-Defined Categories'), {Title: CategoryCC, AmountEach: AmountEachCC, Quantity: QuantityCC, Subtotal: SubtotalCC, MasterID: Form1.LastSubmit.ID}))
@seadude wrote:
Hm.
Its tough for me to understand exactly what you are looking for here. But I'll try:
It sounds like you have a Textbox with "Select x" in it and you want to say,
If textbox.text has the string "Select x" in it, do something.
If thats the case try:
If(