There's no need to create custom button. You can use Multi Paged Form
ok, thank you. i see Multi Paged Form is available in enterprise only. I am using community edition.
My requirement is to create a multi paged form in wizard mode, collect data from user in the wizard and send all the info to external API, not store anything in database. No need of DB tables also for this multi paged form fields.
Is it possible to do this in community edition?
With Multi Paged Form you can't make wizard type "screens" as we understand them in the traditional way. For each page form you have to use the "Save" button. You can't use a global save button for example at the end of the wizard to save them en masse.
You also can't create dynamic routes in form navigation. For example, going from one form to another (from 1 to 3) based on a value in one of its fields and not necessarily to the next numerically (from 1 to 2). And even if this feature existed, you would still be able to access a form even if it was outside the route, and this is not safe.
how to retain user entered data in wizard type screens when navigating with next and previous custom buttons?
And how to hide the standard save button?
How did you make wizard type screens? Can you tell us? I suppose that for each "screen" there is a UI menu page that has a URL and you have 2 custom buttons to navigate to previous and next URLs-screens. Am I right? As I know Joget has not session variables so with this way there is not hope to be achieved.
Also Joget has no access to form's save button for manipulation. The only way to remove it is with javascript after DOM loaded. It is an ugly way though