Skip to main content
Custom Code lets you inject scripts or CSS into forms for advanced tracking, styling, and integrations.
Custom code can execute JavaScript on public form pages. Enable it only when you trust the workspace admins who can edit forms and workspace settings.

What this unlocks

Depending on your license and instance configuration, Custom Code can unlock:
  • Workspace-level custom code
  • Form-level custom code
  • Custom CSS for advanced form styling
  • Advanced tracking scripts and SDK integrations

Self-hosted safety setting

Self-hosted deployments keep custom code disabled by default for safety. To allow custom code execution on self-hosted forms, set:
CUSTOM_CODE_ENABLE_SELF_HOSTED=true
After changing this value, recreate the affected Docker containers so the new environment variable is loaded.
The environment variable controls whether custom code can execute on self-hosted forms. The Enterprise license controls whether the workspace can access the underlying advanced branding and custom code features.