NOTICE
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
Installation
Using Bower:
bower install bsp-autosubmit
Manually:
- Download jQuery 1.7.0 or above
- Download bsp-utils.js (repository)
- Download bsp-autosubmit.js
Usage
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
Options
-
disableAutocomplete(defaulttrue): Whentrue, the plugin will try to disable the native browser autocomplete functionality. -
inputSubmitDelay(default100milliseconds): Delay before form submission oninputevents. This allows the plugin to wait until the user finishes typing ininputortextareabefore the form submission triggers. -
submitThrottle(default500milliseconds): Delay between multiple form submission triggers.