I would like to automaticly save a form (so no need to clic on the save button) when my user navigate form page to page.
I’ve done the following:
I have created a javascript methode call sauvegarde
nm_atualiza(‘alterar’);
return false;
In the event onNavigate I’ve putted the following code
/**
- Call a Javascript function after an AJAX call
*/
// Javascript function parameters
$javascript_function = ‘sauvegarde’; // Javascript function name
$javascript_parameters = array( // Javascript function parameters, add as many as needed
);
// Call javascript function
sc_ajax_javascript($javascript_function, $javascript_parameters);
But, it does’nt work.
Does someone have an idea ?
Thanks
Sylvain