Hi,
I entered "If(IsBlank(StandardEndorserName1E.Text) || IsBlank(DesignNumberE.Text),DisplayMode.Disabled,DisplayMode.Edit)"
for display mode of my submit button but I am getting an error. It's expecting a Boolean value. Any ideas on what I did wrong?
Solved! Go to Solution.
Your code looks fine. Just remove the double quotes from either side and put it in the DisplayMode property of the button.
If(
IsBlank(StandardEndorserName1E.Text) || IsBlank(DesignNumberE.Text),
DisplayMode.Disabled,
DisplayMode.Edit
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Your code looks fine. Just remove the double quotes from either side and put it in the DisplayMode property of the button.
If(
IsBlank(StandardEndorserName1E.Text) || IsBlank(DesignNumberE.Text),
DisplayMode.Disabled,
DisplayMode.Edit
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hi@pnass001,
Do you want your form to stay display mode if either of StandardEndorserName or DesignNumber is not edited?
I have a test on my side which goes well.
Please make sure that you set the Save icon DisplayMode as the above formula. And check your datasource, whether it has been updated without refresh in PowerApps.
More screenshots about the error will be appreciated.
Best Regards,
Qi Qiao
User | Count |
---|---|
183 | |
110 | |
88 | |
44 | |
42 |
User | Count |
---|---|
227 | |
108 | |
106 | |
68 | |
68 |