After a successful Form submission, a visible Form returns to its authored field defaults. The newly inserted Form starts blank, so visitors can send another message without clearing the previous one. ## Checklist - [x] Call the browser's Form reset after a successful Resource submission. - [x] Preserve entered values after failed submissions and keep Navigation mode behavior unchanged. - [x] Cover text, selection, and file inputs, including authored defaults, in focused tests. - [x] Handle authored fields named `reset` without skipping the reset or resource refresh. - [x] Verify Builder Preview and published-site behavior use the same client path. - [x] Update the Form guide for the changed behavior. - [x] Explain the prototype reset call in a short code comment. - [x] Run focused browser tests, typecheck, formatting, and lint on the follow-up. - [x] Verify required CI on the follow-up commit. The reset test fails when the reset call is removed. The `reset` field test failed before the review fix. Both pass now.
description
| description |
|---|
| New to Webstudio? |
👋 Welcome
Our getting started guide will help you navigate through building your first Webstudio website. It covers the essentials of creating web designs and integrating third-party tools. You'll learn how to utilize Webstudio's unique features like Design tokens and Components, and how to contribute to the project.
{% content-ref url="basics/building-your-first-site.md" %} building-your-first-site.md {% endcontent-ref %}
{% content-ref url="university/foundations/" %} foundations {% endcontent-ref %}
{% content-ref url="university/core-components/" %} core-components {% endcontent-ref %}
{% content-ref url="university/cli.md" %} cli.md {% endcontent-ref %}
{% content-ref url="university/inception.md" %} inception.md {% endcontent-ref %}
{% content-ref url="university/radix/" %} radix {% endcontent-ref %}
{% content-ref url="university/marketplace.md" %} marketplace.md {% endcontent-ref %}
{% content-ref url="university/self-hosting/" %} self-hosting {% endcontent-ref %}
{% content-ref url="university/how-tos/" %} how-tos {% endcontent-ref %}
{% content-ref url="university/integrations/" %} integrations {% endcontent-ref %}
{% content-ref url="university/craft.md" %} craft.md {% endcontent-ref %}
{% content-ref url="basics/FAQ.md" %} FAQ.md {% endcontent-ref %}
Looking to contribute to Webstudio?
{% content-ref url="contributing/contributions.md" %} contributions.md {% endcontent-ref %}
{% content-ref url="contributing/marketplace.md" %} marketplace.md {% endcontent-ref %}