Hello everyone,
So what I'm trying to achieve is to disable a button (which is outside of a form) if the selected value of my ComboBox is blank (or empty) AND if my text input field is blank (again, this is also inside of a form).
Button1 = DisplayMode:
If(
(IsBlank(ComboBox1.Selected.Q_Number)) || (IsEmpty(ComboBox1.Selected.Q_Number)) && IsBlank(DataCardValue4.Text),
DisplayMode.Disabled,
Edit
)
Now, my button is always disabled and the reason being is because the value of both my text input field and Combobox is always blank. However, if I'm inside of my form and add a text label in my Card and put ComboBox1.Selected.Q_Number, it will show the correct value in this text label - it's only when I'm trying to target a value outside of my form that it shows Blank.
I have looked into several other posts and non of the have worked for me unfortunately...
Solved! Go to Solution.
Hi @Rama96x ,
This should work in New Mode and if in Edit or View Mode, ensure you have a valid record linked to the Form. It is however a consequence of this bug that hopefully should be fixed soon.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Hi @Rama96x ,
This should work in New Mode and if in Edit or View Mode, ensure you have a valid record linked to the Form. It is however a consequence of this bug that hopefully should be fixed soon.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
Thank you so much @WarrenBelz - it worked as soon as I changed the form to New! Can always count on you 😄
While I have you here, can I ask one more question regarding some delegation warning that I'm getting?
User | Count |
---|---|
157 | |
86 | |
68 | |
63 | |
61 |
User | Count |
---|---|
209 | |
151 | |
93 | |
81 | |
70 |