title: jQuery Validation plugin; check if field is NOT an E-mail
body: <p>I'm adapting a small Zend e-commerce website and lately we have received some robot inputs who just keep filling in email adresses in every field. This is why I want to have my form validation check that the field is NOT an email(or maybe just NOT contains a "@") to pass. Other idea would be to have a hidden field that can not be filled in. How do I achieve this? As I find it hard to find a way to make the result be a false in order to pass (not email).</p>
  
  <p>There are two validations currently used, one of them is jQuery Validation plugin</p>
  
  <pre><code>setupFormValidation : function() {
              $('#planOrderForm').validate({
                  ignore: [],
                  rules : {
                      contactPerson:{
                          required: true,
                          minlength: 4
                      },
                      contactEmail: {
                          required:true,
                          email: true
                      },
                      contactPhone: 'required',
                      contactAddress: 'required',
                      contactZipcode: 'required',
                      contactCity: 'required'
                  },
                  messages : {
                      contactPerson:  {
                          required: $('#name-message-1').html(),
                          minlength: $('#name-message-2').html()
                      },
                      contactEmail: { 
                          required: $('#email-message-1').html(),
                          email: $('#email-message-2').html()
                      },
                      contactPhone: $('#phone-message').html(),
                      contactAddress: $('#address-message').html(),
                      contactZipcode: $('#zip-city-message').html(),
                      contactCity: $('#zip-city-message').html()
                  },
                  errorElement : 'div',
                  errorPlacement: function(error, element) {
                      if( element.attr('id')=='contactZipcode'||element.attr('id')=='contactCity'){
                          console.log(element.parent());
                          if(element.parent().find('.error-message').length==0){
                              error.insertAfter('#contactCity');
                              error.addClass('error-message');
                          }
                      } else {
                          offset = element.offset();
                          error.insertAfter(element);
                          error.addClass('error-message');
                      }
                  },
                  submitHandler : function(form) {
                      form.submit();
                  }
              });
  </code></pre>
  
  <p>The other one is through the Zend addElement function:</p>
  
  <pre><code>/* email */
  $this-&gt;addElement('text', 'contactEmail', array(
  'label' =&gt; 'form_plan_email',
  'required' =&gt; true,
  'trim' =&gt; true,
  'validators' =&gt; array('EmailAddress'),
  'maxLength' =&gt; 255,
  'decorators' =&gt; $customElementDecorators
  ));
  </code></pre>
  
  <p>The preferred method would be through jQuery form validation.</p>
  
  <p><img src="https://i.stack.imgur.com/0rSoU.png" alt="enter image description here"></p>