In a form, format ‘Single Row’.
A field named ok type Checkbox.
In the onClick event, I call a javascript function like this:
if({ok}==1){
// Javascript function parameters
$javascript_function = ‘nm_atualiza’;
$javascript_parameters = array( ‘alterar’);
// Call javascript function
sc_ajax_javascript($javascript_function, $javascript_parameters);
}
That works BUT, after that, navigating from records to records does’nt work anymore, seems that no javascript call are able anymore, I have to reload the form in order to make them working again, and if I click my checkbox, they stop working…
Does someone know if it is a bug from SC or something that I’m doing the wrong way ??
Thanks
Sylvain