# [Usage](../../../usage.md) > [Components and standard attributes](../basics.md) > disableSubmit

---
`disableSubmit` | `->setDisableSubmit()`

Hides the submit button. Used for `Forms` and `Modals` with mounted form.

| Types     | Default |
|-----------|---------|
| `boolean` | `false` |

Hides the submit button on `Form` and `Modal` with form. Used for read-only previews or when submission happens via custom `actionButtons` or auto-save. When omitted (`false`) submit shows normally.
Hiding submit does not disable `url` / `action` handling if triggered programmatically.

### Example
Blade:
```php
{!! \KFramework\Components\Forms\Form::make()->setDisableSubmit(true) !!}
```
Controller:
```php
Form::make()->setSchema([Input::make('name')])->setDisableSubmit(true);
```

### Interaction / tips
- Provide an alternative path via `actionButtons` (../shared_attributes/action_buttons.md) or `url` (../shared_attributes/url.md) + `action` (../shared_attributes/action.md).
- Trio with `disableCancel` (../shared_attributes/disable_cancel.md) and `disableClean` (../shared_attributes/disable_clean.md).
- Rename remaining submit with `submitText` (../shared_attributes/submit_text.md) when kept.

See also: [disableCancel](disable_cancel.md), [disableClean](disable_clean.md), [actionButtons](action_buttons.md), [submitText](submit_text.md), [basics](../basics.md), [Form](../forms/form.md).