You are here

README.txt in Clientside Validation 7.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7 README.txt
DESCRIPTION
===========
  This module adds clientside validation for all forms and webforms using
  jquery.validate.js.

INSTALLATION
============
1.  Download and extract the jquery.validate plugin under sites/all/libraries so
    that the jquery.validate.js file can be found under
    sites/all/libraries/jquery.validate/dist/jquery.validate.js

2.  Enable the module and its dependencies as usual. For more detailed
    instructions see
    https://www.drupal.org/documentation/install/modules-themes/modules-7


STATUS
======
  * Validation is added to all forms and webforms (only tested with version 3).
  * The error messages are displayed the same way as without this module, in a
    div above the form.
  * The error messages use the same css classes as drupal does out of the box,
    so you only have to theme it once.
  * Supports the following conditions: Fields that
      - are required
      - have a maximum length
      - must have one of specified extensions
      - must be one of the allowed values
      - can only contain max x elements (checkboxes, multiple selects)
      - must contain minimum x elements (checkboxes, multiple selects)
      - must be greater than a minimum value
      - must be smaller than a maximum value
      - must be a number
      - must be a decimal
      - must equal an other field
      - can not equal an other field
      - must equal a specific value
      - must be an ean number
      - must match a POSIX regex
      - must match a PCRE regex
      - must be a valid e-mail address
      - must be a valid url
      - must be alpha (FAPI validation)
      - must be alphanumeric (FAPI validation)
      - must be valid IPv4 (FAPI validation)
      - must be "alpha dash" (FAPI validation)
    Note: The FAPI validation rules come down to matching a PCRE regex
  * CCK: textfield, textarea, decimal, float, integer, file and image
  * Supports multiple forms on one page
  * Added support for Webform Validation
  * Added support for FAPI Validation
  * D7: Added support for Field Validation
  * Added support for Vertical Tabs (for D6: Vertical Tabs)
  * Supports most of CCK Date
  * Added an option to enclose the field name in quotes (defaults to nothing)
  * Added an option to validate all tabs or only the visible one (defaults to
    all tabs)
  * Added an option to specify on which forms to validate all fields (including
    those hidden) and on which forms only to validate the visible fields
    (defaults to only visible)
  * Added an option to specify on which forms to add Clientside Validation
    (defaults to all forms)
  * Added an option to specify whether or not to use the minified version of
    jquery.validate.js
  * Checkboxes are working
  * Now using jquery.validate 1.8
  * Supports multi page webforms

USAGE
=====
  The only thing this module will do is translate validation rules defined in
  PHP to javascript counter parts, if you mark a field as required it will
  create a javascript rule that checks the field on submit. This means no real
  configuration is needed. You can however configure the settings if you want.

AUTHOR
======
  The author can be contacted for paid customizations of this module as well as
  Drupal consulting and development.

File

README.txt
View source
  1. DESCRIPTION
  2. ===========
  3. This module adds clientside validation for all forms and webforms using
  4. jquery.validate.js.
  5. INSTALLATION
  6. ============
  7. 1. Download and extract the jquery.validate plugin under sites/all/libraries so
  8. that the jquery.validate.js file can be found under
  9. sites/all/libraries/jquery.validate/dist/jquery.validate.js
  10. 2. Enable the module and its dependencies as usual. For more detailed
  11. instructions see
  12. https://www.drupal.org/documentation/install/modules-themes/modules-7
  13. STATUS
  14. ======
  15. * Validation is added to all forms and webforms (only tested with version 3).
  16. * The error messages are displayed the same way as without this module, in a
  17. div above the form.
  18. * The error messages use the same css classes as drupal does out of the box,
  19. so you only have to theme it once.
  20. * Supports the following conditions: Fields that
  21. - are required
  22. - have a maximum length
  23. - must have one of specified extensions
  24. - must be one of the allowed values
  25. - can only contain max x elements (checkboxes, multiple selects)
  26. - must contain minimum x elements (checkboxes, multiple selects)
  27. - must be greater than a minimum value
  28. - must be smaller than a maximum value
  29. - must be a number
  30. - must be a decimal
  31. - must equal an other field
  32. - can not equal an other field
  33. - must equal a specific value
  34. - must be an ean number
  35. - must match a POSIX regex
  36. - must match a PCRE regex
  37. - must be a valid e-mail address
  38. - must be a valid url
  39. - must be alpha (FAPI validation)
  40. - must be alphanumeric (FAPI validation)
  41. - must be valid IPv4 (FAPI validation)
  42. - must be "alpha dash" (FAPI validation)
  43. Note: The FAPI validation rules come down to matching a PCRE regex
  44. * CCK: textfield, textarea, decimal, float, integer, file and image
  45. * Supports multiple forms on one page
  46. * Added support for Webform Validation
  47. * Added support for FAPI Validation
  48. * D7: Added support for Field Validation
  49. * Added support for Vertical Tabs (for D6: Vertical Tabs)
  50. * Supports most of CCK Date
  51. * Added an option to enclose the field name in quotes (defaults to nothing)
  52. * Added an option to validate all tabs or only the visible one (defaults to
  53. all tabs)
  54. * Added an option to specify on which forms to validate all fields (including
  55. those hidden) and on which forms only to validate the visible fields
  56. (defaults to only visible)
  57. * Added an option to specify on which forms to add Clientside Validation
  58. (defaults to all forms)
  59. * Added an option to specify whether or not to use the minified version of
  60. jquery.validate.js
  61. * Checkboxes are working
  62. * Now using jquery.validate 1.8
  63. * Supports multi page webforms
  64. USAGE
  65. =====
  66. The only thing this module will do is translate validation rules defined in
  67. PHP to javascript counter parts, if you mark a field as required it will
  68. create a javascript rule that checks the field on submit. This means no real
  69. configuration is needed. You can however configure the settings if you want.
  70. AUTHOR
  71. ======
  72. The author can be contacted for paid customizations of this module as well as
  73. Drupal consulting and development.