Feedback Print


Scriptcase has Events to allow the developers to customize the application code. By using the events, the developers can program custom actions at a specific execution time (e.g. After a record is inserted, when it is loaded, upon submitting a Form, …) and for a specific application type. In the events area you can use global and local variables, JavaScript, CSS, HTML, PHP codes and also Scriptcase macros.


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); }


This event occurs when navigating between the application pages.


This event occurs when the application scripts are started. It runs before the OnLoad events(when present), however, it will always be executed when running, reloading or navigating the application.


This event is executed at the moment the record line is loading. The OnRecord event is a loop that loads the records by each row.


This event runs when the header of the application is loaded.


This event runs when the footer of the application is loaded.