frappe-impl-clientscripts

Automate Frappe/ERPNext client-side form logic from Setup to app JS.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-impl-clientscripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-impl-clientscripts
Source: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/tree/main/skills/source/impl/frappe-impl-clientscripts
Command: npx skills add https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package --skill frappe-impl-clientscripts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers through building and migrating client-side form logic in Frappe/ERPNext, eliminating manual UI scripting drift and ensuring consistent behavior across environments.

Core Features & Use Cases

  • Supports field visibility, cascading filters, calculated fields, custom buttons, server calls, and client-side validation.
  • Provides step-by-step workflows from Setup > Client Script through migration to a standalone app JS to ensure production-grade deployments.
  • Includes best practices for event handling, error handling, and performance considerations across v14–v16.

Quick Start

Create and migrate client-side scripts for Frappe forms from Setup > Client Script to a standalone app JS.

Frequently Asked Questions about frappe-impl-clientscripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate client-side form logic in Frappe and ERPNext?

Automate client-side form logic in Frappe and ERPNext using frappe.ui.form events for field visibility, cascading filters, calculated fields, custom buttons, and validation. The Skill covers workflows from Setup > Client Script to standalone app JS migration.

What is the best way to migrate a Frappe Client Script to a custom app JS?

Migrate a Frappe Client Script to a custom app JS to eliminate manual UI scripting drift and ensure consistent behavior across environments. This approach transitions setups into production-grade deployments with robust error handling.

Can I use frappe.ui.form events to handle cascading filters and field validation?

Yes, frappe.ui.form events handle cascading filters and field validation via onload, refresh, and field events. The Skill provides workflows for applying these UI events and custom buttons across Frappe versions v14 through v16.

How do I make server calls from a Frappe client script?

Make server calls from a Frappe client script using whitelist methods and xcall. This enables robust server communication and error handling directly within your client-side form logic and validation workflows.

Does this approach support client-side validation in ERPNext v15?

Yes, client-side validation in ERPNext is supported across versions v14 through v16. The Skill ensures consistent behavior and includes performance considerations for form validation and UI events across these environments.