Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

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?





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

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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,263)