Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Required field if a card is not blank


Im making a timestamp app were the employees type in their time. 
And i want them to write what they have done to submit the form. 

I want a commentbox to be required if the dropdown for selected hours are not blank. Someone know?


Super User
Super User

Re: Required field if a card is not blank



From my understanding, you want the the text input(comment) box to be enabled only when the selected hours is not blank


You can set the DisplayMode property of the text input box to 




And if you want this to be a mandatory requirement for submitting the form, set the Displaymode property of the Button to 




Hope this helps

Vivek Bavishi aka That API Guy
PowerApps and Flow MVP
Blog | Twitter | YouTube | Community Profile | GitHub

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User
Super User

Re: Required field if a card is not blank

Hi @Tomjoh92 I think I covered a few different techniques that would help you here in this video. 


PowerShell Conditional Formatting


If I am missing the mark let me know. Always looking for new ideas for additional videos.





Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training

Helpful resources


New Badges

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,749)