title: parsley.js custom validator - not equal to
body: <p>Hi I'm using parsleyjs for my form validation.</p>
  
  <p><a href="http://parsleyjs.org/documentation.html" rel="nofollow noreferrer">http://parsleyjs.org/documentation.html</a></p>
  
  <p>I want a custom validator so that an input value can not equal what I specify...</p>
  
  <p>An example using jQuery validation can be seen here... <a href="https://stackoverflow.com/questions/3571347/how-to-add-a-not-equal-to-rule-in-jquery-validation">How to add a Not Equal To rule in jQuery.validation</a></p>
  
  <p>I'm thinking something like..</p>
  
  <pre><code>$( '#form' ).parsley( {
      validators: {
        notEqual: function ( val, ??? ) {
          return val != ??? ;
        }
      }
    , messages: {
        notEqual: "Please enter a valid value"
      }
  } );
  </code></pre>
  
  <p>Thanks</p>