Hi folks!
I created logic for a form I'm working on in PowerApps to not allow users to submit an entry if their Activity Description is less than 250 characters. The way I did it is by writing a function in the Display Mode property to be Disabled if the description doesn't meet said threshold. However I want to tie in another function to that button that allows users to submit their entry with an activity description of less than 250 characters if they click the "Time-Off" option from a drop-down menu.
My original Display Mode formula for the button follows as:
If(Len(ActivityDescription.Text) >= 250, Edit, Disabled)
I was thinking something like this could work to add the drop-down menu logic:
If(Len(ActivityDescription.Text) >= 250 OR HoursType.Text = "Time Off", Edit, Disabled)
However every variation of this new formula doesn't seem to work, is there another way of achieving this result? Let me know if anyone has a solution!

Report
All responses (
Answers (