logo
Forms
Last updated: Jun 10

How to create tabbed forms in Power Apps

Customer Support Engineer

In this article, you will learn how to create tabbed forms in Power Apps for SharePoint, how to configure tabbed forms and which steps are required for SharePoint form tabs to work properly. We will also explore an alternative solution that simplifies the process and highlights its advantages.

In this article

What is a tabbed form?

A tabbed form, or a form with tabs is a form that is split into sections:

  • Each tab, or section, has its own selection of fields or controls
  • When tab's button is clicked, this tab is selected and other tabs are hidden
  • This helps to structure a form, making sure only some parts are loaded

A tabbed form can be much easier to handle and complete, as it's logically split into sections, thus this functionality can be highly desirable.

How to create tabbed form in Power Apps

There are a few steps involved if you need to create tabbed form in Power Apps. In our example, we will focus on creating a tabbed form in Power Apps for SharePoint. We'll go into detail in each step necessary to get to the result. Steps are:

  • Step 1: Create and setup a SharePoint list

  • Step 2: Create form in Power Apps and add buttons

  • Step 3: Customize buttons functionality

  • Step 4: Show/hide fields on button click

Setup a SharePoint list 

In the first step, we need to create a SharePoint list with all the required columns. In this case, we've created a Projects List with details related to the project, client and team that are responsible for the project:

SharePoint list setup for Power Apps customization  

This is the list I created and will use to create a tabbed form in Power Apps has the following columns:

SharePoint list columns  

Then we need to click on Form Setting as shown below in the picture:

SharePoint list form settings  

And Customize in Power Apps link:

Customize form in Power Apps and create a tabbed form  

Create form in Power Apps and add buttons

In the step 2 on the form in the Power Apps, we have to make sure that it has all the desired columns:

Create Power Apps tabbed form with buttons  

If something is missing, you can edit and add fields, as shown in the picture below. For that, we use the Edit fields option in Power Apps: 

Add more fields in Power Apps tabbed form  

Then, add buttons to the top of the form, to switch between tabs. In this case, we've added Project, Client and Team:

Add buttons on top of the form in Power Apps  

We'll use these buttons to show/hide fields, making them work as tabs.

Customize buttons functionality

To add functionality to buttons, select each button, and customize their functions. For each button, customize the following functions to create tabbed forms in Power Apps:

OnSelect

  • Project:
Set(formTab, "Project")
  • Client:
Set(formTab, "Client")
  • Team:
Set(formTab, "Team")

Customize OnSelect form buttons in Power Apps  

DisplayMode

  • Project:
If(formTab="Project", DisplayMode.Disabled, DisplayMode.Edit)
  • Client:
If(formTab="Client", DisplayMode.Disabled, DisplayMode.Edit)
  • Team:
If(formTab="Team", DisplayMode.Disabled, DisplayMode.Edit)

Customize DisplayMode form buttons in Power Apps  

Show/hide fields on button click

The last step is to select all fields and other elements for each tab created in Power Apps, and customize their visibility function:

Visibility

  • Project fields:
If(formTab="Project", true, false)
  • Client fields:
If(formTab="Client", true, false)
  • Team fields:
If(formTab="Team", true, false)

Show or hide fields on Button click in Power Apps tabbed form  

This will ensure that the fields are only displayed when a tab is selected.

Example of tabbed form in Power Apps for SharePoint

Once you save and publish the form in Power Apps, it will be shown in SharePoint as displayed in the picture below:

Example of tabbed form created in Power Apps  

Easier way to build a tabbed form in SharePoint

If you're looking for an alternative approach, don't want to write complicated formulas, deal with clunky UI, or if you want more control over your form, you can check out Plumsail Forms for SharePoint.

The same functionality can be achieved by simply opening form in an editor, dropping Tabs container, creating tabs and dropping fields into them:

Plumsail SharePoint forms designer  

And the tabbed form in SharePoint looks the same, if not better:

Plumsail form in SharePoint  

Alternatively, you can utilize Accordion container where multiple sections can be opened at once:

Use accordion for SharePoint Forms  

Or even a Wizard, where each step comes after previous one is complete, and you can make a logic sequence in which your form needs to be completed:

Use Wizard to create steps in SharePoint forms  

Try Microsoft Power Apps alternative for free

In this article we explained how to create tabbed form in Power Apps for SharePoint and presented Plumsail Forms for SharePoint as an alternative. The product is very easy to install and use.

Get started with the 30-day free trial for Plumsail Forms for SharePoint Online by following the installation instructions in our documentation, which includes a full video walkthrough.

If you're using SharePoint 2019 or Subscription Edition, follow the SharePoint On-Premises installation guide.