web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Powerapps how do I mak...
Power Automate
Answered

Powerapps how do I make a field required if another field has value.

(0) ShareShare
ReportReport
Posted on by 373

I have 2 text fields. I want to ensure that if a user enters data in one field the other field becomes required:

leslie_rivera_0-1608600078712.png

Anyone have any ideas on how I can make this happen?

 

Categories:
I have the same question (0)
  • Verified answer
    Gopala_Krishna Profile Picture
    1,495 on at

    @leslie_rivera 

     

    Below are the steps that you can try to make it working

     

    -> Go-to OnChange property of the Custom Summary text input and specify the below formula

    Notify("Enter Information in below text box");SetFocus(<<enter custom action text input details>>)

     

    This will help when the user enters data  in Custom Summary it will throw a notification message to enter information in below text box as well and it will automatically set focus on that.

     

    --> If you have a button/icon on the screen that you are using to submit the information then you can set that to below formula

    Gopala_Krishna_0-1608607403524.png

    If(!IsBlank(TextInput1) And !IsBlank(TextInput1_1),DisplayMode.Edit,If(IsBlank(TextInput1) And IsBlank(TextInput1_1),DisplayMode.Edit,DisplayMode.Disabled))

     

    Enter this formula on the DisplayMode property of the button, the above formula will help in enabling the button only if either of the text inputs are blank or both have some information. If one is blank and other is having information then it will disable the button and user will not be able to click on that.

     

    If the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved.

  • leslie_rivera Profile Picture
    373 on at

    That worked! Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard