My forms are not working correctly with cache enabled

My forms are not working correctly when I enable caching on my site.

 

To figure out why this is happening you will have to understand how Cache works (we’ll be using the example of RSForm! Pro loaded in a content article):

  • the article is loaded;
  • the RSForm! Pro Content Plugin runs and replaces the placeholder {rsform 1} with the specified form;
  • the Joomla! Cache records what the page looks like and saves it in the cache. This means that from now on, the page will never load the RSForm! Pro Content Plugin, and RSForm! Pro will never run as it should (the form will get displayed because its appearance is stored in the cache, but the functionality is not).

 

There is no way to stop this from happening, unless you disable Cache. To disable it just follow the steps below:

  • Global configuration > System tab > set Cache to Off – Caching disabled
  • System > Clear Cache (Site > Maintenance > Clear Cache)
  • Extensions > Plugins > disable “System – Cache”

 

If you wish to keep Cache enabled on your website, as an alternate solution, you can create a RSForm! Pro menu item (Menus > Add new menu item > Select – RSForm! Pro – Form > Choose the form and publish

Tip:

If you would like to display additional text besides the form you can simply add the corresponding HTML via FreeText fields.