---
name: "up.form.isSubmittable"
area: "API"
kind: "JavaScript function"
parent: "up.form module"
url: "https://unpoly.com/api/up.form.isSubmittable"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.form module](https://unpoly.com/api/up.form.md)</nav>

# up.form.isSubmittable(form)

Returns whether the given form will be [submitted](https://unpoly.com/learn/submitting-forms.md) through Unpoly instead of making a full page load.

By default, Unpoly will submit forms if the element has one of the following attributes:

- [`[up-submit]`](https://unpoly.com/api/up-submit.md)
- [`[up-target]`](https://unpoly.com/api/up-follow.md#up-target)
- [`[up-layer]`](https://unpoly.com/api/up-follow.md#up-layer)
- [`[up-transition]`](https://unpoly.com/api/up-transition.md)

To consider other selectors to be submittable, see [`up.form.config.submitSelectors`](https://unpoly.com/api/up.form.config.md#config.submitSelectors).

---

## Parameters {#parameters}

### form {#form}

(required)

The form to check.

Type: [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) | [jQuery](https://learn.jquery.com/using-jquery-core/jquery-object/) | string

---

## Return value {#return-value}

Whether the form will be submitted through Unpoly.

Type: boolean

