Skip to main content
Community site session details

Community site session details

Session Id : zot3jVJFS1yR73r7K5oklh
Power Apps - Building Power Apps
Answered

Modern Controls - Text Input, Required Property

Like (0) ShareShare
ReportReport
Posted on 18 Jan 2024 18:22:22 by 37

Building an app and have used the Modern Text Input.

 

I set the required property to True, but I can't find any description of what that property does.

 

Here is what learn.microsoft.com has:  Required â€“ Must fill in field or not.

The Matthew Devaney blog is my favorite:  Required  Unknown purpose.

 

I am currently using the If function to force entry into certain fields.  What I want to know is what changes when I set the Modern Text Input Required parameter to true?

 

Anybody?

Categories:
  • Verified answer
    jrletner Profile Picture
    720 Super User 2025 Season 2 on 18 Jan 2024 at 18:41:31
    Re: Modern Controls - Text Input, Required Property

    That required feature will work inside of a Form control that will prevent the form from being submitted if that value is blank. It will not disable your button though, you need to write the code for that.

  • Himanshu_90677 Profile Picture
    416 on 18 Jan 2024 at 18:38:08
    Re: Modern Controls - Text Input, Required Property

    Hey @adammparmenter 

    Use isblank function onselect of submit button with if condition.

    If(isblank(textinput.text), notify("text", type error),submit)

     

  • adammparmenter Profile Picture
    37 on 18 Jan 2024 at 18:38:00
    Re: Modern Controls - Text Input, Required Property

    Yes.  I'm currently doing that method on other forms, but how exciting that there is a new parameter for the Modern Text input.  Required=True.  I really what to now what it does?

  • dhock Profile Picture
    126 on 18 Jan 2024 at 18:37:18
    Re: Modern Controls - Text Input, Required Property

    Hi. Setting the Required property to true will cause an error notification if the field is empty and the user clicks on Submit. It does not disable the Submit button.

  • jrletner Profile Picture
    720 Super User 2025 Season 2 on 18 Jan 2024 at 18:34:39
    Re: Modern Controls - Text Input, Required Property

    If you want the Submit button greyed out based on whether or not the text input is blank, you can do this:

    Button:  go to the DisplayMode property and enter a formula similar to this

    jrletner_0-1705602794797.png


    Now your button is disabled if the textInput is empty.

    jrletner_1-1705602832982.png


    Now the button is enabled when the textInput is not empty:

    jrletner_2-1705602861233.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete