Version 2.0.0 of autosubmit is now ES6 syntax for the SystemJS build system. If you are working with RequireJS or native ES5, please use 1.0.0
Using Bower:
bower install bsp-autosubmit
Manually:
- Download jQuery 1.7.0 or above
- Download bsp-utils.js (repository)
- Download bsp-autosubmit.js
Add data-bsp-autosubmit
attribute to any form
, input
, select
or textarea
element to trigger form submission on change
or input
events (demo).
General Brightspot plugin configuration documentation
disableAutocomplete
(defaulttrue
): Whentrue
, the plugin will try to disable the native browser autocomplete functionality.inputSubmitDelay
(default100
milliseconds): Delay before form submission oninput
events. This allows the plugin to wait until the user finishes typing ininput
ortextarea
before the form submission triggers.submitThrottle
(default500
milliseconds): Delay between multiple form submission triggers.