B2c Forms

Build forms with validation in B2C Commerce using SFRA patterns. Use this skill whenever the user needs to create a storefront form (checkout, registration, profile edit, address, contact), define form fields in XML, handle form submission in a controller, add field validation rules, or render forms in ISML templates. Also use when they mention form XML definitions, server.forms.getForm, form groups/actions/lists, or CSRF protection on form posts — even if they just say "I need a registration form" or "add validation to checkout".

salesforcecommercecloud bc9773f 3 files · 20.8 KB Updated

File contents

salesforcecommercecloud/b2c-developer-tooling/tree/main/skills/b2c/skills/b2c-forms commit bc9773ff75

Frequently asked questions

npx skillmds@latest add salesforcecommercecloud/b2c-forms