Permalink
Switch branches/tags
Nothing to show
Commits on Sep 22, 2008
  1. Possibility to retrieve a custom error message per field from a <inpu…

    …t text="hidden" /> node.
    committed Sep 22, 2008
Commits on Sep 21, 2008
Commits on Sep 20, 2008
  1. Removed unnecessary CSS.

    committed Sep 20, 2008
  2. Workaround for IE bug.

    committed Sep 20, 2008
  3. Restyled the test page to be easier to get an overview of many tests.…

    … Also fixed some styling for IE7 and less.
    committed Sep 20, 2008
  4. Refactored so numeric/integer follows the same pattern as length when…

    … specifying detailed ruling.
    
    Added some comparison betwwen input and "null" to fix problem in IE and Form.Element#getValue() in Prototype. Will try to fix a patch for Prototype.
    committed Sep 20, 2008
  5. Refactored code and changed the format in which to specify details ab…

    …out the length validation.
    committed Sep 20, 2008
  6. Typo

    committed Sep 20, 2008
  7. Prepare for more samples.

    committed Sep 20, 2008
Commits on Sep 18, 2008
  1. Merge branch 'error-messages'

    * error-messages:
      Some styling on the demo page.
      F.V.Element#errors now exists as a hash with keys as the validation options, and values as error messages.
      Added a demo directory with a very simple demo.
      Ensure error message isn't shown twice. Hide error on successful validation =)
      Renders a very simple error next to the invalid field.
    
    Conflicts:
    
    	src/wq.form.validation.js
    	test/fields_tests.html
    committed Sep 18, 2008
Commits on Sep 17, 2008
  1. Changed behavious so that input only is required when the option +req…

    …uired+ is set. Otherwise allow empty values where applicable.
    committed Sep 17, 2008
  2. Some styling on the demo page.

    committed Sep 17, 2008
  3. F.V.Element#errors now exists as a hash with keys as the validation o…

    …ptions, and values as error messages.
    committed Sep 17, 2008
  4. Renamed all Element/elements references toField/fields for less confu…

    …sion between DOM elements and F.V.Fields. Thank god for TDD!
    committed Sep 17, 2008
  5. Added a static F.V.Element.remove(elm) which will be triggered for al…

    …l elements by F.V.remove(...).
    committed Sep 17, 2008
  6. Removed debug information.

    committed Sep 17, 2008
  7. Ensure Form.Validation#validate returns true if all fields are valid,…

    … and false if any one is invalid.
    committed Sep 17, 2008
  8. Fixed RegExp escaping error.

    committed Sep 17, 2008
  9. fv:elements:validated triggered on each form element that was just va…

    …lidated. Triggered on the element itself, not the form.
    committed Sep 17, 2008
  10. Fixed a bug where elements added to a previous form_validator was reu…

    …sed when recreating a new FV on the same form.
    committed Sep 17, 2008