Hi Maurizio
Please check this:

The AJAX will load the result from "page5" and will call a function called "set_value" after the result arrives, this function will get 2 parameters:
- The AJAX result, this will be whatever string or HTML you print in page5
- The field object which has the listener
So you can add a JavaScript view to your form:
function set_value(result, field){
field.value = result
}
And this will set the value of the field to the AJAX result
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
no, javascript should be on the same page where the field called the AJAX, that's the page loaded in your browser
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.