Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module has been renamed to Clientside Validation Commerce due to this issue
This module only provides some UX improvement when you use clientside_validation module in the Drupal commerce site.
Features
This module is useful to fix the UX bug when you happen to use clientside_validation module in the checkout pages of Drupal Commerce site. It hides processing icon when form validation in JavaScript is failed and show processing icon when that Javascript validation is successful.
Module dependencies
Approach
jQuery.validate
used in clientside_validation only provides triggers valid-form
when validation is failed. We bind a listener to event to hide processing icon added by Commerce. And then bind a form submit handler to add processing icon back.
Note: .element-invisible
is used to hide processing icon in commerce_checkout module.
Project information
- Module categories: E-commerce, Developer Tools
- Created by eric.chenchao on , updated