Hi There,
I have a form with the following script in java to autosave the users input
function sc_form_onload()
{
setInterval(function(){
nm_atualiza (‘alterar’);
}, 300000);
}
and the following script to redirect users after the update the form manulay
OnVallidate OR on OnAfterUpdate
/*
- opslaan en redirect naar pagina met refresh
*/
sc_commit_trans()
sc_redir(‘W_event_menu_organisatie.php’, ev_id=[ev_id];, “_parent”);
Work like a charm.
but when the autosave kicks in the user is automatically redirected to the page above. i would like the redirect only happened when the user hits the button.
any suggestions?