Shopify Builds>Primitives>Customer account forms

Customer account forms

Definition

Shopify's form tag renders the storefront's built-in forms: customer login, account creation, address create and edit, contact, and the storefront password page. The tag emits the action, method and hidden fields the platform expects, and reports failures back through an errors object. The fields inside belong to the theme; the contract around them is not negotiable.

Documented at shopify.dev, the form tag.

How We've Used It

We treat these as fixed points. A wholesale inquiry, a newsletter capture, an address book, a password page: the markup inside can be rebuilt to the brand, and the labels, autocomplete tokens and error states are worth rebuilding, but the tag stays and so does the platform's field naming. That's what keeps the form working through a theme upgrade, and it's why none of this is routed through a form app. Where we do add code, it's around the form rather than inside it, such as a page-builder hook in the password layout or consent copy that has to differ by market.

Builds Using It

Related Entities

Builds