• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: skip pages to go to last page

skip pages to go to last page 12 years 2 months ago #21448

  • bvdveen
  • bvdveen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

I need help with the following:

I have a 9 page form (last page is the one with the submit button)
I want customers to be abale to skip page 2-8 (or 3-8) in order to be able to submit the form.
I use conditional fields in case a customer wants a second option and thereafter a third option.
How do I make the NEXT button skip the non used pages?

Thanks in advance

Bert van der Veen
The administrator has disabled public write access.

skip pages to go to last page 9 years 9 months ago #31778

  • Toad78
  • Toad78's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 27
Were you ever able to figure this out? I'm trying to do the same thing. I'm trying to create multiple buttons (virtually impossible with RSForms default settings) to allow users to either go to page 2 or go straight to page 3.
The administrator has disabled public write access.

skip pages to go to last page 9 years 9 months ago #31779

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

skip pages to go to last page 9 years 9 months ago #31781

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
I will explain a little bit how you can apply this scenario to your form.

First, create a button as explained here:

www.rsjoomla.com/support/documentation/r...m-fields/button.html

Next, in the Additional Attribute tab, you can trigger the change page function manually like this:
onclick="rsfp_changePage(formId, page, totalPages, validate)";

Note that the above parameters are variables, which won't work for your scenario, to manually go to a page you would have to grab your form's ID (this can be done from the backend, in the Manage Forms table - it's the last column).

e.g. you have a form that has:
ID - 3
Pages - 4 total
You want to skip page 2 and go directly to 3

The function call should look like this:
// NOTE: due to the fact that the first page is 0, if you want to go to the 3rd page, the page parameter must be 2
onclick="rsfp_changePage(3, 2, 4, false)";

Try this and let me know!
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: Toad78

skip pages to go to last page 9 years 9 months ago #31801

  • Toad78
  • Toad78's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 27
This works, EXCEPT when I want the button to appear AFTER the 'PREV' or 'ADD ANOTHER STUDENT' button, it disappears. You can see this on Page 1. In that case, would I be better off creating a series of PREV, ADD ANOTHER STUDENT, and FINISH buttons using the 'Button' field?

It looks like my attempt to create another 'ADD ANOTHER STUDENT' to go to the next page was futile as it broke the page break.
Last Edit: 9 years 9 months ago by Toad78.
The administrator has disabled public write access.

skip pages to go to last page 9 years 9 months ago #31802

  • Toad78
  • Toad78's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 27
Is there a way for the button to scroll the user to the top of the form instead of the same position as the 'bottom' of the form?
The administrator has disabled public write access.

skip pages to go to last page 9 years 1 day ago #34954

  • a_young
  • a_young's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 1
I added the following code to the button's additional attributes to jump back to the top of the page:

onclick="document.body.scrollTop = document.documentElement.scrollTop = 0"
The administrator has disabled public write access.
The following user(s) said Thank You: alexis.marks
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!