• 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: Skipping Pages based on a value held in Mysql Data

Skipping Pages based on a value held in Mysql Data 21 hours 24 minutes ago #44105

  • lesmar
  • lesmar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I am new to RSForms Pro and just need to know a correct and workable solution as I have tried the examples in the documentation and they do not quite fit.

I have a form with 13 pages on it 12 are identical except that the field have a suffix of 01 to 12,
This represents a number of horse races at a meeting with a minimum of 1 and a maximum 0f 12.
I have already a header record in a mysql table that i could read in before the form is displayed lets call it Race-Count and maybe it will have a value of 8.

What i want is a way that depending on this Race-Count the pages are either presented for input or skipped because they are past the number of races for the meeting i.e. 09 10 11 12 would need to be skipped and from Race 08 i.e. page 8 you go straight to page 13 the submit page.
I have a page break on each race with validation set to Y and all fields set to required.
So firstly i would need a way to hide the pages using Conditional Fields but since that requires a checkbox or dropdown or radio group to work I already have a radio group on each page that has Y"to Skip Page or N to input page. Then i can hide the page if the radio button is set to Y.

I need therefore a way to set the radio buttons to Y on those pages that need to be skipped and to also set the fields on each of the pages to not-required or set values in those fields such as skipped.
can this be done and how ?

Many sincere thanks in advance
The administrator has disabled public write access.

Skipping Pages based on a value held in Mysql Data 8 hours 10 minutes ago #44106

  • lesmar
  • lesmar's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I am trying this with the Additional Fields PLUGIn and using the SWITCH field type, However can I program that to set the switch to ON if a valid Race. All switch values are set to OFF as initial value
The administrator has disabled public write access.
  • 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!