Sets default options for form submission and validation.
The number of miliseconds to wait before
up.observe() runs the callback
after the input value changes. Use this to limit how often the callback
will be invoked for a fast typist.
An array of CSS selectors matching forms that will be submitted through Unpoly.
You can configure Unpoly to handle all forms on a page without requiring an
Individual forms may opt out with an
You may configure additional exceptions in
Matching forms will not be submitted through Unpoly, even if they match
An array of CSS selectors that are searched around a form field that wants to validate.
The first matching selector will be updated with the validation messages from the server.
By default this looks for a
around the validating input field.
An array of CSS selectors that represent form fields, such as
An array of CSS selectors that represent submit buttons, such as