form confirmation plugin on paginated form does not point on the first group

lcollong

FabriKant d'applications web
Hi,

My setup include the confirmation plugin to ask the user to read/verify his data before submitting the form.
The form has several groups setup as multi-page forms with page break on form only. Form is ajax validated with toggle submit on as well as "save part-edited records" .

After clicking on the "save" button, the plugin ask the user to read/confirm his entry but it shows back the last group. Hence, the user has to key on "previous" four times in my case to verify the first part of his form and then "next" at least once to have "the right" to confirm his submissions.

Is this expected behavior ? Confirmed on other setup ? Wouldn't be more logical to display back the very first group to allow a "normal" flow verification ? Doable ?

Thanks,
 
Try to add
$input->set('currentPage', 0);
in \plugins\fabrik_form\confirmation\confirmation.php around line 137 (after $input->set('fabrik_confirmation', 1); )
 
Well done. Seems to work like a charm. I'll come back to you in case we see some difficulties with users.
Thanks.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top