b2c-forms

Create SFRA-based B2C Commerce forms with XML validation and ISML templates.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-forms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-forms
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c/skills/b2c-forms
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-forms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

B2C Commerce developers face challenges building SFRA-based forms that require reliable validation, consistent rendering, and secure submission flows. This skill provides a guided approach to creating forms with XML field definitions, server-side controller logic, and ISML templates.

Core Features & Use Cases

  • Form Definition: XML-based field definitions, validation rules, and actions for checkout, account, and address forms.
  • Controller & Template Integration: SFRA controller logic and ISML templates to render and process forms securely.
  • Use Case: Build a checkout address form with server-side validation and dynamic error messaging.

Quick Start

Use the skill to scaffold a basic profile form with fields for email, name, and address, including submission handling.

Frequently Asked Questions about b2c-forms

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

FAQPage Schema
How do I build SFRA forms with server-side validation in B2C Commerce?

To build SFRA forms with server-side validation in B2C Commerce, use this skill to generate XML field definitions, SFRA controller logic, and ISML templates for secure form submission flows.

What is the best way to create XML form definitions for SFRA checkout and account forms?

The best way to create XML form definitions for SFRA checkout and account forms is using this skill to scaffold field definitions, validation rules, and actions within cartridge-based workflows.

Can I use ISML templates to render dynamic error messaging for SFRA forms?

Yes, you can use ISML templates to render dynamic error messaging for SFRA forms. This skill provides template integration that securely processes forms and displays server-side validation errors.

How do I scaffold a profile form with email, name, and address fields in SFRA?

To scaffold a profile form with email, name, and address fields in SFRA, use this skill's quick start approach to generate the XML definitions, controller logic, and submission handling.

Does this skill support building checkout address forms with dynamic error messaging?

Yes, this skill supports building checkout address forms with dynamic error messaging. It combines XML definitions, SFRA controller logic, and ISML templates to validate and render forms securely.