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

How to make a text box a required ?

When somebody entering in infromation I need some textbox required before they sumbit it.

2 REPLIES 2
cwebb365
Level 10

Re: How to make a text box a required ?

There is Probably a better way to do this, but I do it this way. Since it's a manual screen and not a form, forms have built in require options in the properties for fields. But on a manual check. I Do two things. 

 

1. Add logic to my save button DisplayMode. I do a IF(isBlank(Textbox1.Text) || isBlank(Textbox2.Text),DisplayMode.Disabled,DisplayMode.Edit)  This will make the button not active or clickable until the fields are field out. 

 

2. Create labels near the field, and put in the *Requires a Value in red text, and make it's visable based on having a value using isBlank(Textbox1.Text) 

NHelgren
Level: Powered On

Re: How to make a text box a required ?

You can access the Entity and mark specific fields as required. If a user attempts to submit the form they will be told that missing data is required. Using this setting should alwo include a visible * to indicate the field is required. 

required field.jpg

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,607)