Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8558999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:56:17+00:00 2026-06-11T15:56:17+00:00

Im using this validation plugin: https://github.com/posabsolute/jQuery-Validation-Engine The email input field i have should validate

  • 0

Im using this validation plugin: https://github.com/posabsolute/jQuery-Validation-Engine

The email input field i have should validate if its a reall email and not allow certain email domains (hotmail, gmail). i have read trough the whole readme on the plugin website but theres nothing usefull i could find there on how to make it do this. so if anyone knows how to do it or has a link to documentation on how to would make you a life safer.

thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:56:19+00:00Added an answer on June 11, 2026 at 3:56 pm

    I can suggest you to do the next (I didn’t test this so let me know if it does not work).

    This plugin allows you to specify custom regexes for validation. All regexes are placed in the so called translation file (jquery.validationEngine-en.js for English). There you can see $.validationEngineLanguage.allRules object. Add to it your custom rule where you need to set your own regex to forbid (gmail, hotmail etc):

    "custom_email": {
         "regex": /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@(?!gmail\.com|hotmail\.com)[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/,
         "alertText": "* Invalid email address"
    }, 
    

    You can see that I added almost default regexp, which was specified in the "email" rule, but included to it the negative lookahead (?!gmail\.com|hotmail.com) (you can add another domains with |newemail\.com approach).

    Then you need to set this custom rule for your input:

    <input value="" class="validate[custom[custom_email]]" type="text" name="email" id="email" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i using this JQuery Form Validation Plugin. https://github.com/posabsolute/jQuery-Validation-Engine I am able to attach it
I am using this plugin: https://github.com/augustl/live-validations/wiki to check if the form field entered is
I am using this jQuery form validation plugin: http://docs.jquery.com/Plugins/Validation/Methods I am trying to use
Has anyone used the jQuery Validation Engine (at http://posabsolute.github.com/jQuery-Validation-Engine/ ) with jQuery 1.4.2? In
I'm using the jQuery validation plugin found here: http://plugins.jquery.com/project/validate In my form I have
Using this jQuery validation plugin. http://www.benjaminkeen.com/software/rsv/jquery/index.php I want to validate a checkbox group with
at the moment i'm using this validation plugin: ( http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/ ) but when it
I found the jquery validation plugin ( http://plugins.jquery.com/project/validate ) and thought that this would
i'm using this plug in to validate a form http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I've got 3 fields,
i'm using the validation plugin from http://docs.jquery.com/Plugins/Validation i'd like to know if it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.