I’m trying to make work this piece of code on a FORM (single record form)
under ONLOAD event:
//// facturacion libre?
if ({facturacion_libre} == 1) {
sc_block_display (facturacion_libre,'on');
//sc_error_message("facturacion libre on");
//sc_error_exit();
} else {
sc_block_display (facturacion_libre,'off');
//sc_error_message("facturacion libre off");
//sc_error_exit();
}
If I enable sc_error_messages, I get “facturacion libre off”, how ever
script case server not hide the block.
I use a similar code under onClick ajax event, and sc_block_display
work perfect.
I think this is a Bug.
I’m using last SC version 6.00.0033
thank you
andres.