# JScript

Kalipso allows you to create your own JavaScript functions (without graphic interface) and execute them. The objective is to allow you to make a high complexity algorithm that would be harder to make using Kalipso [Actions ](/kalipso5/developing/form/option-window/actions.md)and [Functions](/kalipso5/developing/form/expressions/functions.md).

When the option is selected, this screen appears:

![](/files/-M_M58OJsOqoqS5fGDeH)

In the window you can access the list of Java Scripts already created. The table is divided in two columns:

* **Name** - Name for the JScript.
* **Description** - Description for the JScript. Description that you want to give to the JScript. This property is for your information only.

For the management of Java Scripts, three simple icons are available:

* **Add** - Adds Jscript (opens a new window)
* **Edit** - Edit a selected Jscript in the table
* **Delete** - Deletes a selected JScript in the table.

### Add / Edit

When you click on add a new Java Script a new window appears that allows you to create it. This window is similar to the one that appears when editing an already created Java Script. Therefore, the process for both actions is described simultaneously.

![](/files/-M__xuGz2Ddd7W6PuAdD)

The fields are:

* **Name** - Name for the JScript
* **Description** - Description for the JScript. Description that you want to give to the JScript. This property is for your information only.
* **Parameters** - Field to insert JScript variables that can be passed as parameters in to the Code.
* **Code** - Area for the introduction of Java Script code.

Next to the fields for the name and description is a button to **Test** the code. Clicking, Kalipso will test the result of the code entered and present it in a window. The test combines code and parameters fields.The testing process is preceded by a window that displays the code to be tested, as shown in the image below.

![](/files/-M_aOFsACqIcRaOFGSXD)

When you click on next, the test is performed and the result appears.

{% hint style="warning" %}
Before testing you need to save first
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/specific-options/jscript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
