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 / How do navigate to a d...
Power Apps
Unanswered

How do navigate to a designated screen based on Button text?

(0) ShareShare
ReportReport
Posted on by 7

I'm a total beginner in Power Apps, so bear with me. I've successfully created a multi-screen form. I've created a status button on the home screen of the app. The button's text updates according to the status of the record. I want to direct the user to the appropriate form/screen, based on the text/status of the button. Can this be done with one button control?

 

Example:

If button reads "Pending Disposition" navigate to the "Disposition Form",

If button reads "Pending Approval" navigate to the "Approval Form"

 

Current State: Button Property, ON SELECT:

 

 

If(
 Text(Button4) = "Pending Disposition",
 ResetForm(HoldForm1);
 ResetForm(HoldForm2);
 ResetForm(DispositionForm);
 ResetForm(ApprovalForm);
 Set(
 varFormData,
 varIdea
 );
 Navigate(
 'Disposition Screen',
 ScreenTransition.Fade
 )
)

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    mmollet Profile Picture
    3,187 on at

    Use nested if statements like this:

    If(
    Self.Text = "Home",
    Navigate(HomeScreen),
    If(
    Self.Text = "Clock In",
    Navigate(ClockIn)
    )

    );

     

    Or use a switch like this:
    Switch(
    Self.Text,
    "Home",
    Navigate(HomeScreen),
    "Clock In",
    Navigate(ClockIn)
    )

  • mramey Profile Picture
    7 on at

    Thank you so much! That worked beautifully!

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard