• 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: Uncaught ReferenceError

Uncaught ReferenceError 4 years 8 months ago #40436

  • StormIT
  • StormIT's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
I've recently setup conditional fields on two sites, a staging site (only accessible by one IP address) and a live site.

The conditional fields work correctly on the staging site, but when I've backed up the form and restored on the live site, the conditional fields don't work correctly.

In the Console, I'm getting an error:

Uncaught ReferenceError: rsfp_addCondition is not defined at test-contact:608

But the function is showing in the script: /media/com_rsform/js/script.js
function rsfp_addCondition(formId, name, fnCondition) {
	return RSFormPro.Conditions.add(formId, name, fnCondition);
}

If I preview the form then the conditional fields work correctly, if I view directly on the page then they don't show but the above error is displayed.
Last Edit: 4 years 8 months ago by StormIT.
The administrator has disabled public write access.

Uncaught ReferenceError 4 years 8 months ago #40439

  • StormIT
  • StormIT's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 32
This is now fixed, it turns out it was an issue with AWS CloudFront.
The administrator has disabled public write access.

Uncaught ReferenceError 4 years 8 months ago #40442

  • gregs
  • gregs's Avatar
  • NOW ONLINE
  • Expert Boarder
  • Posts: 85
  • Thank you received: 5
What does this have to do with RSJoomla templates?
The administrator has disabled public write access.

Uncaught ReferenceError 4 years 8 months ago #40451

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 745
  • Thank you received: 66
Hello,

This has been moved to the RSForm!Pro section of our forum.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!