Form - multipage: how do I go back to the first page after submitting the form?

I have a multipage or multistep form, after submitting the form successfully. It stays on the last page. I tried using sc_redir to itself and it didn’t work.

Anyone knows how to go back to page 1 after submitting a multistep form?

Hi
I’ve a similar requirement.
is it possible to use sc_redir and open a multipage form on a given page?

regards.

This isn’t the ideal solution but my multistep form is a standalone app and I somewhat get the behaviour I’m after.

I did the following:

I put this in onAfterInsert event:

sc_commit_trans();
unset($_COOKIE["PHPSESSID"]);
sc_redir("multistep_form", status=1);