• Resolved eduardonie

    (@eduardonie)


    After applying “.hide()” to the “pbPrevious” button I realized that it is still possible to go back to the previous page of the form through the browser.

    How to ensure that the user does not go back to the previous page of the form via browser navigation buttons or smartphone navigation keys?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @eduardonie

    This feature specific to your project must be implemented by yourself as part of the form’s code.

    Every time the user jumps to a page, the plugin triggers the cff-gotopage event. The event callback receives an object as a second parameter with the following properties: from the index of the page the user comes (starting in zero), to the index of the new page, form the form’s DOM object.

    I recommend you implement a function that listens to this event. The function must store a global variable with the index of most last page visited, and if the to attribute is lower than the global variable you must call the fbuilderjQuery.fbuilder.goToPage(); and passing as its parameter an object with the properties form, from, and to similar to the event.

    If you need a custom coding service to implement this behavior in your form, you can contact me through my private website, Click Here

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Block previous page’ is closed to new replies.