Skip to main content

Notifications

Community site session details

Community site session details

Session Id : pwku6WfHoiVe1JOJMJDlW3
Power Pages - General Discussions
Unanswered

Clickable Tabs for Multi Step Form

Like (1) ShareShare
ReportReport
Posted on 19 Feb 2023 09:28:33 by 57

I have created Multi Step form using Power Pages.

 

Dhruvin_0-1676798714424.png

 

Instead of clicking on Next and Previous Button, I need clickable tab, so user can redirect to the specific page automatically. Is there any way to make this tab clickable?

 

I' m using Multi Step form.

Dhruvin_1-1676798878169.png

 

Categories:
  • Lucas001 Profile Picture
    2,143 Super User 2025 Season 1 on 16 Jan 2025 at 06:46:42
    Clickable Tabs for Multi Step Form
    Hi,
     
    one alternative which would work at least and can also provide a proper solution.
    Create the form yourself with bootstrap and a lot of custom code.
     
    You can than use a cloud flow get all the infos from the elements and submit it to dataverse.
    Only thing is that you need proper validation not only for HTML, but also serverside with power automate for some cases.
     
    A guide on how to create such a form: https://designmodo.com/bootstrap-5-form/
    You can than make the tabs clickable but using a button instead of a progress bar
  • PowerBi-Rick Profile Picture
    80 on 10 Jan 2025 at 04:18:16
    Clickable Tabs for Multi Step Form
    I would add in that in 2025 this is an important feature in order for Power Pages to keep up. If anyone has any new insights in how to get this to work, I've tried various online recommendations like those listed here for achieving this using javascript but have been unsuccesful.
     
    I have a complex Custom Table with many Child Tables displayed in Subgrids. In the Model Driven App, these are all on separate tabs and the form loads extremely fast. You can hop to whatever tab you want to work with/view.
     
    When displaying this in Power Pages opening the form in Edit or Read Only View takes a very long time if the Model Driven App is a single form. Each Subcrid has to go out and grab data. I have tried using a Multi-Page Form and created a separate Webform that corresponds to each Tab in the Model Driven App and using each form as a step. The current limitation with Multi-page Forms is that the only way to move to a different tab is the next/previous button at the bottom of the page. I have 14 tabs and if the user just needs to look at tab 14, they have to slowly navigate tab by tab.
     
    This should be improved so that the Page labels at the top of the Multi-page form are fully navigable, and you can move directly from the first tab to any other tab. I understand that this behavior might not be what is desired in a Create form, where you may want to require the user to go step by step. However, on Edit forms and Read Only forms, there is no reason to limit the user's ability to quickly move to whatever tab they need in the form. You should be able to go to any step you need to see. Presumably this could be a configuration checkbox in the Power Pages Management center.
  • Surendran Ravindran Profile Picture
    212 on 05 Dec 2023 at 16:48:35
    Re: Clickable Tabs for Multi Step Form

    @rkanteti 

    For Example Code for your request:

     

    <!DOCTYPE html>
    <html>
    <head>
    <title>Multi-Step Form</title>
    <script src="/WebResources/YourScriptFile.js">

     

    </script>
    </head>
    <body>
    <div id="step1" class="form-step">
    <!-- Step 1 Content -->
    <h2>Step 1: Personal Information</h2>
    <!-- Add your Entity Form for Step 1 -->
    {{ entityform.name_of_your_entity_form_for_step_1 }}
    <button onclick="goToNextStep(1, 3)">Next</button>
    </div>

    <div id="step2" class="form-step">
    <!-- Step 2 Content -->
    <h2>Step 2: Address Details</h2>
    <!-- Add your Entity Form for Step 2 -->
    {{ entityform.name_of_your_entity_form_for_step_2 }}
    <button onclick="goToNextStep(2, 3)">Next</button>
    <button onclick="goToPreviousStep(2)">Previous</button>
    </div>

    <div id="step3" class="form-step">
    <!-- Step 3 Content -->
    <h2>Step 3: Additional Information</h2>
    <!-- Add your Entity Form for Step 3 -->
    {{ entityform.name_of_your_entity_form_for_step_3 }}
    <button onclick="submitForm()">Submit</button>
    <button onclick="goToPreviousStep(3)">Previous</button>
    </div>
    </body>
    </html>

     

    Java Script:

     

    function goToNextStep(currentStep, totalSteps) {
    if (currentStep < totalSteps) {
    var nextStep = currentStep + 1;
    showStep(nextStep);
    }
    }

    function goToPreviousStep(currentStep) {
    if (currentStep > 1) {
    var previousStep = currentStep - 1;
    showStep(previousStep);
    }
    }

    function showStep(stepNumber) {
    // Hide all steps
    for (var i = 1; i <= 3; i++) {
    document.getElementById('step' + i).style.display = 'none';
    }

    // Show the current step
    document.getElementById('step' + stepNumber).style.display = 'block';
    }

    function submitForm() {
    // Collect data from all steps and submit to the server
    // Implement your logic for data submission using AJAX or other methods
    // ...

    // You may redirect or show a success message after submission
    // ...
    }

     

    Note:

     

    Replace name_of_your_entity_form_for_step_1, name_of_your_entity_form_for_step_2, and name_of_your_entity_form_for_step_3 with the actual names of your entity forms.

     

     

    /*************************************/

     

    But Generally  i recommend to follow this:

    https://ulrikke.akerbak.com/2021/10/20/clickable-tabs-navigation-for-power-apps-portals/

     

    This worked for me ,

    Direct Multistep /Advance form wont work here

     

    Basic form with Liquid code Looking like multi step Works.....

     

    Regards

    Surendran

     

     

  • rkanteti Profile Picture
    4 on 15 Oct 2023 at 02:41:19
    Re: Clickable Tabs for Multi Step Form

    @Dhruvin @Surendran_R 
    I have the same requirement as what @Dhruvin had and stuck at clicking the multiple tabs on the multi step form.
    could someone post the solution to get this clickable using JS code.

    Thanks

  • Surendran Ravindran Profile Picture
    212 on 23 Feb 2023 at 11:05:48
    Re: Clickable Tabs for Multi Step Form

    @Dhruvin 

    You need to create separate basic form for each step and then use it , in one of my latest project we have done in same manner

  • Dhruvin Shah Profile Picture
    57 on 21 Feb 2023 at 07:42:04
    Re: Clickable Tabs for Multi Step Form

    @Surendran_R This solution is applicable for Basic Form only. What about Multi Step Form? 

  • Surendran Ravindran Profile Picture
    212 on 20 Feb 2023 at 06:25:52
    Re: Clickable Tabs for Multi Step Form

    Hi @Dhruvin ,

     

    For Clickable tabs , still now there is no Out-of-box feature.

     

    Same scenerio we ahieved by using below blog 

     

    https://ulrikke.akerbak.com/2021/10/20/clickable-tabs-navigation-for-power-apps-portals/

     

    Regards

    Surendran_R

  • Dhruvin Shah Profile Picture
    57 on 20 Feb 2023 at 04:59:37
    Re: Clickable Tabs for Multi Step Form

    Can you please share some alternative methods to achieve this? 

  • Fubar Profile Picture
    7,860 Super User 2025 Season 1 on 19 Feb 2023 at 22:19:37
    Re: Clickable Tabs for Multi Step Form

    Not able to be done out of the box.  Various people have tried to do things like click the Next with JS until they reach the Tab that was clicked - but is slow and will get screen flicker.

    To do it, you basically need to build your own from the ground up.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 9 Most Valuable Professional

#2
Rondel Profile Picture

Rondel 6

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 4 Most Valuable Professional

Overall leaderboard