# $taxRulesField->value()

> Returns the value of the field if it has a value otherwise it returns null

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

```php
$taxRulesField->value(bool $default = false):
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$default` | `bool` | `false` |

## Return type

`–`

## Parent class

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