Forums

Back Button not going to the previous page

winchesterlyon 06 Mar, 2023
Hi,

For some reason, on my 3-page (4 pages in CF) form, when on the 3rd page, the Back takes you to the 1st page instead of the 2nd page.

The back button was created based on the instructions in this tutorial
https://www.youtube.com/watch?v=V9dMvVi4nfA

Does anyone know how to fix this?

Any help will be greatly appreciated.
wbuk 06 Mar, 2023
The button is basically a link. It's not a "Back" button, they just named it "Back" in the video.

Under Behaviours > Interface > Link, you select which page it goes to when clicked. If you watch the tutorial, they selected form.start_page, which is page 1.
winchesterlyon 07 Mar, 2023
Hi Wbuk,

Here's an image of how my pages are laidout.
https://pasteboard.co/hJamXGkrg9Eh.png

As you can see, my back buttons mirror the instructions from the tutorial video. However, while the back button on Page Two works as expected, the button on Page Three goes to Page One, instead of Page Two when clicked.

I'm not sure what could possibly cause it to behave that way.

Thanks for your help.
wbuk 07 Mar, 2023
Silly question, but have you checked the Page 3 and make sure you have the right button in it?

Eg you have {view:back_button_p3} instead of {view:back_button_p2}?
winchesterlyon 07 Mar, 2023
The "P3' is just a reference to which page the button is located on and not where it is pointing to.
winchesterlyon 07 Mar, 2023
It seems to be working fine now. The only thing I did was change the names of the pages to "one, "two", "three". Somehow it works now that I've done this.
You need to login to be able to post a reply.