title: Email validation doesn't work on invalid domain names - FormIT MODX Revo
body: <p>I have a problem with my form validation: when we write email like this - <code>foo@bar</code> - the error is not displayed, but form sending also fails. How can I fix it?</p>
  
  <pre><code>[[!FormIt?
  &amp;hooks=`spam,email,redirect,FormItAutoResponder`
  &amp;emailTpl=`emailTplContact`
  &amp;emailTo=`my@email.com`
  &amp;validate=`email:email:required,
             name:required,
             agree:required`
  &amp;redirectTo=`2532`
  &amp;fiarTpl=`emailAutoRespond`
  &amp;fiarSubject=`Success`
  &amp;fiarFromName=`English School`
  &amp;fiarFrom=`my@email.com`
  &amp;fiarToField=`email`
  &amp;fiarReplyTo=`email`
  ]]
  
  &lt;form method="post" action="[[~[[*id]]]]"&gt;
          &lt;label for="name"&gt;Name&lt;/label&gt;&lt;input required="required" type="name" id="name" name="name" placeholder="Your name" value="[[!+fx.name]]"&gt;
          [[!+fx.error.name]]
          &lt;label for="email"&gt;E-mail &lt;/label&gt;&lt;input required="required" type="email" id="email" name="email" placeholder="Your email" value="[[!+fx.email]]"&gt;
          [[!+fx.error.email]]
          &lt;/div&gt;
          &lt;div&gt;
              &lt;label for="phone"&gt;Phone number&lt;/label&gt; &lt;input type="text" placeholder="Phone number" id="phone" name="phone" value="[[+fx.phone]]" size=15/&gt;
              &lt;input type="checkbox" name="agree" id="agree"&gt;&lt;label for="agree" [[!+fx.agree:FormItIsChecked=`true`]]&gt;I agree&lt;/label&gt;
              [[!+fx.error.agree]]&lt;/div&gt;
          &lt;button id="join"&gt;JOIN&lt;/button&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>I found <a href="http://bugs.modx.com/issues/4022" rel="nofollow noreferrer">http://bugs.modx.com/issues/4022</a> here description of this bug and it seems that this issue must be solved - but how? My FormIT version - 2.0.3</p>