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 / Default first tab when...
Power Apps
Answered

Default first tab when opening form

(0) ShareShare
ReportReport
Posted on by 181

I have successfully created a tabbed form (edit mode) following @RezaDorrani youtube video however, as I have created the form in a canvas app I'm not able to follow the instructions from Reza to make my first tab default when the form loads. Currently I have 4 tabs with a variable set varTabSelected, I need to have tab1 displayed when the form is opened. 


Does this need to be on my 'Submit' button? Currently the onSelect is simply 'SubmitForm(FORMNAME)' do I need to add to this?

 

Many thanks

Categories:
I have the same question (0)
  • Verified answer
    subsguts Profile Picture
    1,259 Moderator on at

    I would just do a Set(varTabSelected,<num of tab you want>) on the action that causes the form to open.  I've used this to control the tabs in my app.  Let me know if this doesn't answer your question.

     

    Hope this helps

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @Angry_Sys_Admin ,

    You can set the variable to first tab on  - 

    On App Start property - Set(varTab, "tab1")

    On Screen's OnVisible property -  Set(varTab, "tab1")

  • Angry_Sys_Admin Profile Picture
    181 on at

    @SuBG  Thank you for your response. As the form is on a separate page to the gallery it is linked to I added the Set(var to the OnSelect of the gallery item.

     

    This has resolved the issue.

  • pskelton Profile Picture
    27 on at

    Watched the same video(!) second option worked for me

    OnVisible property of the screen with the tabs to the default tab required

    ie. Set(varTabSelected, Value(#))

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard