client-scripts

Official

Master Frappe client-side scripting for forms

AuthorUnityAppSuite
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Frappe client-side scripting patterns help developers implement reliable, consistent form behaviors and UI enhancements without ad-hoc code scattered across Doctype scripts.

Core Features & Use Cases

  • Standardized form event patterns (setup, onload, refresh, validate) to initialize, react to data, and enforce rules.
  • Field manipulation and dialogs for consistent UI/UX (show/hide fields, read-only, required, and custom dialogs).
  • UI customization with custom buttons and prompts to extend the Frappe desk experience.

Quick Start

Create or update a client script at the designated Doctype path (for example my_app/.../my_doctype.js) and register event handlers with frappe.ui.form.on to enable the intended form behaviors.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: client-scripts
Download link: https://github.com/UnityAppSuite/frappe-claude/archive/main.zip#client-scripts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.