up.form up.form.isSubmittable(form)
JavaScript function

Returns whether the given form will be submitted through Unpoly instead of making a full page load.

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

To consider other selectors to be submittable, see up.form.config.submitSelectors.


Parameters

form
required

The form to check.

Type: Element | jQuery | string

Return value

Whether the form will be submitted through Unpoly.

Type: boolean