• 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: Ajax Validation on a conditional multipage form

Ajax Validation on a conditional multipage form 7 years 9 months ago #37116

  • rudoy24
  • rudoy24's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
The problem is that the script posted on this site advances the page counter. If your'e on page 2, and want to skip page 3, for example, then the script passes page 3 as the current page (not page 2 where you are) when it calls the changePage function. So it thinks its actually on page 3 and advances to page 4.

To resolve, I added the code from the changePage function that handles the validation on this post ( www.rsjoomla.com/forum/37-rsform-pro/240...-multipage-form.html ):
if (validate) {
var form = rsfp_getForm(formId);
if (!ajaxValidation(form, page))
return false;
}

But now this code does not work!
How to write Ajax Validation for a page now?
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!