--- title: "JavaScript Editor" slug: "javascript-editor" updated: 2026-02-03T10:27:04Z published: 2026-02-03T10:27:04Z canonical: "guide.casepoint.com/javascript-editor" --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.casepoint.com/llms.txt > Use this file to discover all available pages before exploring further. # JavaScript Editor The JavaScript panel launches a JavaScript editor. This gives you the option to include more expressive JavaScript in your form than a CallJS rule allows, and to also reuse these definitions in multiple rules. ![](https://cdn.us.document360.io/7544b7d8-1a52-4300-961d-f950905779cb/Images/Documentation/JS-Javascript-editor.png?sv=2026-02-06&spr=https&st=2026-11-24T12%3A50%3A15Z&se=2026-11-24T13%3A50%3A15Z&sr=b&sp=r&sig=rL6nzoiihyHC5BVMK%2B4ezJVMI8xB%2FLXyKO1Js06zg4I%3D) When you create a new form or import an old form, some example JavaScript is generated to help you get started. Your custom JavaScript must be declared in a specific object in order to prevent any interference with the rendering engine. The object is named based on your form type as follows: - **Application Form:** Application Type - **Contact Form:** Contact Type - **Others:** Case Type In these names, any spaces must be replaced with “_”. The name of the object is auto-generated in the example. Once a function is declared, it can be accessed in a CallJS rule with “dot” notation, such as: myCaseType.exampleFunction();