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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make 2 text input &...
Power Apps
Unanswered

Make 2 text input & 2 radio button mandatory on display mode of a button.

(0) ShareShare
ReportReport
Posted on by 19

I have 2 input text box and 2 radio buttons i want to make them all mandatory for button enable and disable.

If all the 2 input text box and 2 radio button are get selected then only the button should enable else it should be  in disabled mode.

 

So  kindly anyone  suggest me the syntax. 

Categories:
I have the same question (0)
  • DavidZoon Profile Picture
    738 Most Valuable Professional on at

    hello,

    in your button.displaymode :

     

    If( AND( Radio1 , Radio2 , Len(Text1.Text)>0 , Len(Text2.Text)>0),Displaymode.Edit,Displaymode.Disabled)




  • yaseenshaikh301 Profile Picture
    19 on at

    Thank you brother I'll try it. 

  • yaseenshaikh301 Profile Picture
    19 on at

    I tried but Not working this formula.

     

  • WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    Hi @yaseenshaikh301 ,

    Try this (change to your control names 

    If(
     Radio1.Value && 
     Radio2,Value && 
     Len(Text1.Text) > 0 && 
     Len(Text2.Text) > 0,
     Displaymode.Edit,
     Displaymode.Disabled
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Verified answer
    WarrenBelz Profile Picture
    153,049 Most Valuable Professional on at

    Hi @yaseenshaikh301 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • yaseenshaikh301 Profile Picture
    19 on at

    Thanks @WarrenBelz.It work successfully. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard