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 / Tabbed Form - How to g...
Power Apps
Answered

Tabbed Form - How to grey out (disable) until specific questions are answered?

(0) ShareShare
ReportReport
Posted on by 126

Hello All,

 

I am currently creating a tabbed form on Power Apps, modeled after this video: Link

 

I want to introduce conditional formatting, so that a user will have to answer certain questions (aka not leave specific fields blank) before proceeding to the next tab.

 

I also want the user's current tab to have color, while the other ones they are not on to be greyed out.

 

Are these possible? How can I implement this? Looking for advice

current_tabbed_form.png
Categories:
  • MVP-Phipps Profile Picture
    3,526 Super User 2024 Season 1 on at

    Is each tab a seperate form? Or are these just fields you have added?

  • chinda Profile Picture
    126 on at

    No, each tab is part of one form. Different questions appear on each tab through the Visible property (Page 1: varTabSelected=1, etc.)

     

    If it is not possible to grey them out since they are all part of one form, do you know how I could use a 'Next' button to achieve this? 

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @chinda ,

     

    You can leverage a context variable on the Next Buttons:

    OnVisible of the Screen:

    UpdateContext({varNO: 1})

     

    OnSelect of the Next Button:

    UpdateContext({varNO: varNO +1})

     

    If there is a Previous Button:

    UpdateContext({varNO: varNO -1})

     

    Now you can change the color of those tabs based on the value of the variable. For example Color of the first Tab:

    If(varNO = 1, Blue, Grey)

     

    In addition, you can also control the size of those Tabs, as well as the Visible of all the Data Cards. OnSelect of those Tabs can also set to update the variable to the corresponding number and show the respective Data Cards.

     

    Best regards, 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard