---
url: "https://vueda.dev/v3/reference/api/py/vueda.workflow.forms/ValidateStateNotUsedForm.md"
title: "ValidateStateNotUsedForm"
---

# ValidateStateNotUsedForm

## Overview

The main implementation of all the Form logic. Note that this class is
different than Form. See the comments by the Form class for more info. Any
improvements to the form API should be made to this class, not to the Form
class.

## `Meta` {#Meta}

### Source {#Meta-source}

`server/vueda/workflow/forms.py:132`

## `clean` {#clean}

Hook for doing any extra form-wide cleaning after Field.clean() has
been called on every field. Any ValidationError raised by this method
will not be associated with a particular field; it will have a
special-case association with the field named '__all__'.

### Signature {#clean-signature}

`clean(self)`

#### Parameters {#clean-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |

### Source {#clean-source}

`server/vueda/workflow/forms.py:139`

## `base_fields` {#base_fields}

## `declared_fields` {#declared_fields}

## `media` {#media}

Return all media required to render the widgets on this form.

### Source {#media-source}

`.venv/lib/python3.12/site-packages/django/forms/widgets.py:280`

## Source

`server/vueda/workflow/forms.py:131`
