Integrations
/
JavaScript

Extend your apps with JavaScript

Databases
JavaScript programming language
Overview

The JavaScript integration lets you add custom JavaScript logic directly inside Jet Admin — on buttons, actions, and computed fields — for the cases where built-in, no-code options aren't quite enough. It's not a separate data source; it's a way to extend the logic layer of a Jet form or app you've already built.

Because it runs inside Jet Admin, custom JavaScript still respects the same role-based access and approval steps as the rest of your app, and any action it triggers is recorded in the audit log. That keeps custom logic just as governed as everything else in your workspace.

What you can do
Run custom JS logic
Execute JavaScript as part of a Jet Admin action, button, or workflow step.
Transform field values
Compute or format values on the fly using JavaScript expressions.
Validate form input
Add custom validation logic to a Jet form beyond built-in field rules.
Use Cases
Scenario
What it looks like
Advanced form logic
Build conditional, computed, or validated fields that no-code options can't handle.
Custom action buttons
Add bespoke behavior to a button, like calling an external API or reshaping data.
Fine-tuned UI behavior
Adjust how data displays or reacts to user input for a specific edge case.

Key benefits

  • Fill the no-code gaps. Handle edge cases that built-in field types and actions can't cover.
  • Compute and validate on the fly. Add derived fields or custom validation to a Jet form.
  • Stays governed. Custom logic still respects roles, approval steps, and the audit log.
  • No separate environment. Write and run JavaScript directly inside the app you're already building.

How to connect Jet Admin with JavaScript

  1. Open the Jet form, table, or action where you want to add custom logic.
  2. Add a JavaScript step (or custom field formula) from the available action types.
  3. Write the JavaScript needed for your calculation, validation, or transformation.
  4. Test it against real data to confirm the logic behaves as expected.
  5. Publish the form or app — the custom logic now runs as part of that field, button, or action.