Multi page with next and prev

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
vintoICT
User
Posts: 406

Multi page with next and prev

Post by vintoICT »

How can i get proper multi page form with next button and previouse button ?


mobhar
User
Posts: 11702

Post by mobhar »

One of the solutions is by making Extension, because you need to customize the original code in order to add the new functionality including the look and feel (style) of the UI so that it will be look like a form wizard.


vintoICT
User
Posts: 406

Post by vintoICT »

I just remeber i did something like this few years ago on version 2021.

tabs multipage

on client script

currentForm.multiPage.set({
    lastPageSubmit: true, // Enable submit button for the last page only
    hideDisabledButton: true, // Hide disabled submit button
    hideInactivePages: true, // Hide inactive pages
    hideTabs: true, // Hide all tabs
    showPagerBottom: true, // Show pager at bottom
    //pagerTemplate: '<nav><ul class="pager"><li class="previous ew-prev"><a href="#"><span class="icon-prev"></span> {Prev}</a></li><li class="next ew-next"><a href="#">{Next} <span class="icon-next"></span></a></li></ul></nav>', // Pager template
    lockTabs: true,// Set inactive tabs as disabled
    showPagerTop: true // Show pager at top
});

mobhar
User
Posts: 11702

Post by mobhar »

You may see this docs, too.


Post Reply