is-submittable
v1.0.0
Published
check if the given form element is submittable.
Downloads
3,229
Readme
is-submittable
A helper for determining if a given input is able to be submitted in an HTML form.
API
submittable(el)
Must pass a raw HTML element as el
. It will return a boolean indicating whether or not it is
valid for submission according to the rules in the HTML spec.