# $pricesField->submit()

> Submits a new value for the field. Fields can overwrite this method to provide custom submit logic. This is useful if the field component sends data that needs to be processed before being stored.

- Source: `src/Form/Field/ValueField.php#L112` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Form/Field/ValueField.php#L112>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$pricesField->submit( $value): Kirby\Form\Field\ValueField
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$value` | `–` | `–` |

## Return type

`Kirby\Form\Field\ValueField`

## Parent class

`Wagnerwagner\Merx\PricesField` inherited from `Kirby\Form\Field\ValueField`
