Closing as duplicate of https://www.drupal.org/project/clientside_validation/...