Feedback Print

Events

Within the events you can include Scriptcase global, local variables, libraries and macros, PHP, JavaScript, HTML and CSS codes.

onApplicationInit

This event occurs only once, when the application is loaded and before the application executes the SQL. It can be used for data processing or checking variables.

Example: if ([glo_var_dept] != ‘financial’){ sc_redir(app_x.php); }

onExecute

This event runs when the item of the menu is clicked or an application is selected.

onLoad

This event runs when the application is finished loading.