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 Apps / Simple Next button to ...
Power Apps
Unanswered

Simple Next button to display if all text input fields have data

(0) ShareShare
ReportReport
Posted on by 27

Hi there

 

I have a simple 'Next Page' that I only want to display only if all text input fields have data. So I think I have to use the If command.

zolla_0-1638806012146.png

If(ansOverallExp.Text = true; &&
ansApplyToRole.Text = true; &&
ansTechKNWL.Text = true;
Set(OverallExp, ansOverallExp.Text);
Set(ApplyToRole, ansApplyToRole.Text);
Set(TechKNWL, ansTechKNWL.Text);
Navigate('Screen2-PA-2')

Any help would be appreciated.

Thanks

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @zolla 

    Please consider changing your Formula to the following:

    If(
     !IsBlank(ansOverallExp.Text) &&
     !IsBlank( ansApplyToRole.Text) &&
     !IsBlank(ansTechKNWL.Text);
    
     Set(OverallExp, ansOverallExp.Text);;
     Set(ApplyToRole, ansApplyToRole.Text);;
     Set(TechKNWL, ansTechKNWL.Text);;
     Navigate('Screen2-PA-2')
    )

     

    Note: None of those variables are needed in your formula as you already have globally the values in the control.

    So, for example, OverallExp does not need to be set as you can just reference ansOverallExp.Text anywhere you want.

     

    I hope this is helpful for you.

  • zolla Profile Picture
    27 on at

    Hi there,

    Thanks for taking the time to responsd.

    Okay so I managed to fix it. I used the following to 'Set' the variables (to be used elsewhere) on the 'On Select' area of the button. The 'If' statement I used on the 'visible' part of the button but changed the code a little. Eaxmple:

    If(
        !IsBlank(ansCourseRec) &&
        !IsBlank(ansDiffAttCourse) &&
        !IsBlank(ansLrnObj),true,false)

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 Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard