jquery – authenticating a particular mail id



hi all,

Kindly lend me a hand to my requirement-

Have been working around a form that will only permit user with particular email addresses to be able to deposit the form.

Eg - these are chosen customers from a company called XYZ.

And ABC may have the email ABC@XYZ.com.

I desire to make certain that my form only recognize emails from this company-

merely particular @XYZ.com email ids.

Any solutions??

See below the code-

<script>
  $(document).ready(function(){
    $("#request-form").validate({
  rules: {
    field: {
      required: "@sanderson.com", <!--for example purposes only-->
      email: true
    }
  }
});
  });
  </script>

Thanks much!