A jQuery plugin to hang actions from an element if target fields are not valid.


Keywords
jquery, plugin, submit, button, hanging, invalid, form
License
ISC
Install
npm install jquery-hanging@1.1.3

Contributors

Eduardo Agostini


See all contributors


Documentation

Introduction

Struggling a lot with form validations and buttons that should not work until their forms are valid I decided to create something to help the world 🤓. It's a very simple plugin that takes advantage of other consolidated plugins to tell your button when it should be enabled for actions or not. Sound nice, right? In fact I created a page to tell you more about it: https://eagostini.github.io/jquery-hanging.

I intend to improve the integration between this plugin and the validator dependency for performance matters in the future. If it's not enough or if you found an issue with the plugin just let me know creating an issue here. I will really appreciate it!

Dependencies