Permalink
Commits on Aug 2, 2011
  1. Fixed: set to false if there are no messages to be inserted. And allo…

    …w empty string for you design.
    committed Aug 2, 2011
  2. Added `onlyOnBlur` and `onlyOnSubmit` in `validationParamsObj`.

    Example: ```javascript new LiveValidation("login", {validMessage: " "})
    .add(Validate.Presence)  .add(Validate.Length, { minimum: 2, onlyOnBlur:
    true }); ```
    committed Aug 2, 2011
Commits on Feb 13, 2010
  1. Added fix for Opera stacktrace in message output

    alechill committed Feb 13, 2010
Commits on Sep 9, 2008
  1. got rid of some comments and changed @var in scriptdoc blocks to @param

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@62 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Sep 9, 2008
  2. added tests for Validate.Custom displayMessageWhenEmpty option, did s…

    …ome refactoring, and moved the check for the displayMessageWhenEmpty to validateElement rather than in th loop of doValidations
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@61 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Sep 9, 2008
Commits on Sep 8, 2008
  1. added documentation blocks for hooks, put hooks in execution order, a…

    …nd added a check for if is a Custom validation and its paramsObj contains displayMessageWhenEmpty as true, then it will treat it in that way - this option is not necessary though unless needed and so is not wired into Validate.Custom itself so keeps its abstraction
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@60 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Sep 8, 2008
Commits on Apr 11, 2008
  1. added callbacks to both the LiveValidation objects and the LiveValida…

    …tionForm objects. LiveValidationForm.getInstance will now work off an id as well as an element to make it easier to grab to apply a callback. Fixed and refactored LiveValidation::remove. Fixed spelling mistake of args in standalone Validate::custom. Some general refactoring. Both versions tested and compressed with changes.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@58 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Apr 11, 2008
Commits on Mar 9, 2008
  1. added before and after hooks for both versions and did a bit of house…

    …keeping
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@57 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Mar 9, 2008
Commits on Feb 25, 2008
  1. compressed versions added

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@53 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 25, 2008
Commits on Feb 16, 2008
  1. added documenting comments to the Validate.Custom methods and reorder…

    … its test to be in a more logical place
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@52 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 16, 2008
  2. added tests and implimented Validate.Custom for standalone version

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@51 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 16, 2008
  3. added tests and implimentation of Validate.Custom to prototype version

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@50 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 16, 2008
Commits on Feb 11, 2008
  1. updated all the compressed versions and their respective tests to bri…

    …ng them in line with the current version
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@48 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 11, 2008
  2. added remove functionality to remove a single validation, to both ver…

    …sions including tests
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@46 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 11, 2008
  3. added support for file inputs, fixed bug in validate for disable elem…

    …ents that meant it returned undefined, now returns true without running the actual validation. Added file input to tests. Uppecased the element checks in case users enter them in a different case to the check. All these done for bothe versions.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@45 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 11, 2008
Commits on Feb 4, 2008
  1. upgraded prototype version to 1.6.0.2

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@43 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Feb 4, 2008
Commits on Jan 24, 2008
  1. implimented enable and disable in the standalone version, along with …

    …unit tests for them.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@42 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 24, 2008
Commits on Jan 22, 2008
  1. added tests in prototype version for disable and enable methods. Adde…

    …d the disable and enable methods to prototype version, and added call to removeMessageAndFieldClass on destroy
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@41 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 22, 2008
  2. fixed error in prototype version removeMessage, and removed a stray c…

    …omma in standalone version
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@40 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 22, 2008
Commits on Jan 21, 2008
  1. added force argument to LiveValidationForm::destroy. Sorted out erron…

    …eous test cases fopr for
    
    preseving submit events.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@39 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 21, 2008
Commits on Jan 9, 2008
  1. started fixing submit event firing order, added inline submit events …

    …to functional tests and pages to submit forms to for both functional and unit tests, started altering tests to suite the changed event order
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@38 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 9, 2008
Commits on Jan 5, 2008
  1. added destroy tests and methods to standalone versions, added tests f…

    …or event preservation after destroys both versions, namespaced form instances instead of attaching to window, added version info, altered titles of test pages
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@37 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 5, 2008
Commits on Jan 4, 2008
  1. added destroy methods to the prototype version and implemented that i…

    …n tests to remove events etc. Made changes to the preservation of submit event for form in order to pass tests
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@36 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 4, 2008
Commits on Jan 3, 2008
  1. added tests for standalone for inline events (and form elements to te…

    …st them against), altered the onsubmit code in the standalone version to pass the tests for inline. Copied the test html and events simulation and events tests to the prototype version
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@35 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 3, 2008
Commits on Jan 2, 2008
  1. fixed a bad variable name in the IE mouse event simulation that was c…

    …ausing test to fail in standalone unit tests
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@34 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 2, 2008
  2. altered the readme and license files to fit a smaller width, just for…

    … the hell of it
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@33 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 2, 2008
  3. Forgot to mention that the prototype version was updated to 1.6.0, an…

    …d unittest.js updated toscript.aculo.us 1.8.0 version in the previous commit, and Event.unloadCache which was used in the unit tests which was removed in prototype 1.6.0 has been redefined manually in the unit test scripts. In this commit, added unit tests in standalone version to test the id generation of LiveValidationForm, and to test that previouis onsubmit events are preserved in standalone version.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@32 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 2, 2008
Commits on Jan 1, 2008
  1. Altered simulated events testing methods to be much more sophisicated…

    … (only done in standalone version so far). Added tests for preserving the various events that livevalidation attaches to in standalone version. Added preservation of these events to standalone version. Altered the id generation of the LiveValidationForm element if it doesnt have one to make it extra random, and added test cases for it to standalone tests. Added preservation of onubmit event of form to standalone version.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@31 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Jan 1, 2008
Commits on Oct 15, 2007
  1. changed comments in headers of source to say 1.3

    git-svn-id: svn://livevalidation.com/livevalidation/trunk@30 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 15, 2007
Commits on Oct 11, 2007
  1. implimented the case insensitive Inclusion/Exclusion in standalone ve…

    …rsion, and made the new compressed versions
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@29 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 11, 2007
  2. synched up all the test suites, unit and functional, and added negati…

    …on to Format in standalone script
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@28 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 11, 2007
Commits on Oct 10, 2007
  1. added functional tests for Format negate, and case insensitive Inclus…

    …ion/Exclusion for prototype versions of functional tests
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@27 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 10, 2007
  2. added extra tests for prototype Inclusion/Exclusion to test when part…

    …ialMatch is true, and caseSensitive is false
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@26 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 10, 2007
  3. added extra tests for Inclusion and Exclusion in prototype unit tests…

    …. Added tests for negation of Format, and for case sensitivity of Inclusion/Exclusion in prototype unit tests. Implimented negation of Format, and case insensitivity in Inclusion/Exclusion. Renamed parameter of Inclusion from exclusion to negate for consistency - only used internally so should not cause any problems.
    
    git-svn-id: svn://livevalidation.com/livevalidation/trunk@25 c130c166-013a-0410-90be-eade3a03707a
    alechill committed Oct 10, 2007