Back

JavaScript Editor Overview


The JavaScript Editor is used to develop your business logic.

Anything can generate a Verj.io Event. For example, a user filling in a textbox, clicking on a button, navigating to a web page or a REST endpoint being called.

JavaScript Entities can be attached to any Event to define business logic that is executed in response to that Event. Examples include validating text as it is being entered into a textbox and fetching data to display from a database when a Web Page is loaded.

Script Editor

JavaScript code is written here. There are a number of useful built-in developer aids including

  • full syntax highlighting.
  • syntax error detection.
  • intelligent, context-aware auto complete suggestions.
  • a comprehensive Javascript API with detailed descriptions of its methods.

Outline View 

Shows the structure of the current script, including all defined variables and functions.

Visual Debugger 

A powerful debugger to help find a fix bugs in your server-side code.

Set breakpoints in the margin of the Script Editor and the server will pause execution at that line of the script. You can

  • view the current values of in-scope variables.
  • view the current values of the Form's Fields  and Tables .
  • step into , out of  and over  your code line-by-line.
  • evaluate  expressions against the current state of the script and the current Form.
  • continue  the script's execution.

The debugger can be connected to the Studio's Embedded server and, depending on your security roles, to configured On-Premise servers and Verj.io Cloud Service Plans.