Release Notes: Many bugfixes and new features.
Release Notes: In this version, a bug was fixed where using multiple forms on a single page would disable client-side validation for all forms but the first one. A bug was fixed where if there were selection groups in a select, it would never pass validation. A bug was fixed where placeholders (labels as hints inside textboxes and textareas) were not working on textareas. Elements that have display:none or visibility:hidden are no longer checked in the client-side validation process. The Zebra_Transform plugin is no longer included in the library; it can be downloaded and used separately if needed.
Release Notes: A bug was fixed where dates having the day < 10 would not pass validation. An issue was fixed that allowed malicious users to submit arbitrary values instead of the ones defined at the form’s creation for select controls, checkboxes, and radio buttons. The severity of the issue was low, as the submitted values were still filtered for cross-site scripting (XSS) attempts, so no real harm could be done.
Release Notes: A bug was fixed where dates would never validate for languages other than English. The form now completely adheres to http://www.w3.org/TR/WCAG20-TECHS/H44.html, which requires that all controls have an associated label. Previously, the honeypot element did not have an associated label. Some minor optimizations were done in the PHP code as well as some clarifications in the documentation regarding the "resize" rule.
Release Notes: A new validation rule was added called "filetype". With this rule one can restrict the types of files that can be uploaded by specifying a list of allowed file extensions. It's important to note that validation is not done by file extension but by the MIME type of the uploaded files. For this, a new file is available in the root of the library called "mimes.json", and this contains the currently supported extensions and associated MIME types. The library now makes use of the Zebra_TransForm jQuery plugin to replace radio buttons, check boxes, and select boxes with nicer ones.
Release Notes: A bug was fixed where the settings for client-side validation would be reset if a file upload control was added to the form. A bug where the client-side validation would crash when the format of the date contained day names or month names has been fixed. A bug where determining the path where the library is located was not working for certain configurations has been fixed. A bug that would crash the script if the date format contained "/" (slashes) has been fixed. A bug where the length rule was tested even though the element had no value nor was the required rule set has been fixed.
Release Notes: A bug related to the "date" control was fixed. A huge bug affecting file upload validation was fixed.