What are use cases of AJAX Call and Reload Action in Advance Listener?

Understand use cases for AJAX Call and Reload actions in ChronoForms.

Overview

These actions are used to dynamically call another form page without reloading the entire browser page.
Use AJAX Call to fetch a response and process it with a custom JavaScript function. Use Reload to replace the calling element with the response. Ensure the target page has a different Page Group.

Answered
ChronoForms v8
ki kittisak 16 Jan, 2025

Hi Max

  Could you explane or show use cases of AJAX Call and Reload Action in Advance Listener?Thank you.

Max_admin Max_admin 16 Jan, 2025
Answer
1 Likes

Hi Kittisak

You use this to call another form page using AJAX, but in AJAX call you will just call that page which may run PHP, you may also provide a javascript function to do something with the response from that page

What are use cases of AJAX Call and Reload Action in Advance Listener? image 1

in the example above, page2 will be called and whatever response (maybe using an HTML view or some JSON results) will be passed to a function "print_output" (if defined) which may do more work

In Reload you will be able to replace the calling element with response from the other page

in both cases the other page should have a different Page Group in order to be called independently

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply