# form\_reset

Source: https://zotonic.com/docs/2031/form_reset

URI: https://zotonic.com/id/2031

Language: en



Resets the target form to its initial state.

The `target` argument is the form's element id. The common `id` or `selector` action arguments can override it. Resetting restores the values from the rendered HTML; it does not submit the form or run server-side validation.

```django
{% button text="Clear changes" action={form_reset target="profile-form"} %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2031?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2031?language=en>)
