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 7824403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:35:03+00:00 2026-06-02T08:35:03+00:00

Im trying to use the remote feature in the JQuery Validation Plugin to check

  • 0

Im trying to use the remote feature in the JQuery Validation Plugin to check to see if the email address exists. I cannot get it to return the status of it being registered. I am using the default php class provided. I am using Jquery Latest

Here is my class

<script type="text/javascript">
$.validator.setDefaults({
submitHandler: function() { alert("submitted!"); }});
$().ready(function() {

// validate signup form on keyup and submit
$("#form1").validate({
    rules: {
        user_pass: {
            required: true,
            minlength: 6
        },
        user_pass_confirm: {
            required: true,
            minlength: 6,
            equalTo: "#user_pass"
        },
        email: {
            required: true,
            email: true,
            remote: { url:"module/1.func.php",     
            type : "get",
            data : { email : function() { return $("#email").val();
 }, 
  }
  }        
        },

        terms: "required"
    },
    messages: {
        user_pass: {
            required: "Please provide a password",
            minlength: "Password must be at least 6 characters"
        },
        user_pass_confirm: {
            required: "Please provide a password",
            minlength: "Password must be at least 6 characters",
            equalTo: "Eenter the same password as above"
        },
        email: {
            required: "Enter your email address",
            email: "Enter a valid email address",


        },

        terms: "Please accept our policies"
    }
});

});

—–EDIT–ADDED 1.inc.php—–

$email = $_REQUEST['email'];
if($email=="me@god.com"){
$valid = 'false';
}else{
$valid = 'true';
}
echo $valid;
?>

—–EDIT–Changed Jquery—–

I have now changed the email rule to the following. I get “Please Fix this field” when the email is inputted if it matches.

email: {
required: true,
email: true,
remote: “module/1.func.php” },

  • 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-02T08:35:05+00:00Added an answer on June 2, 2026 at 8:35 am

    Change your remote validator to

    remote: "module/1.func.php"

    It already sends the email via get and send that fields value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use python's telnetlib module to get information from a remote
I'm trying to use git on windows to clone a remote repository. I can
I am trying to use local port forwarding to access remote host over a
I've been trying to get codeigniter working on .Net platform with the use of
I am trying to work out how to use the Branch-per-feature approach in mercurial
Well guys, I'm trying to get that MongoDB feature working for hours: http://www.mongodb.org/display/DOCS/Http+Interface I
I'm trying to use cygwin sqlplus to connect to a remote oracle installation located
I am trying to use JDOM to load the source code of a remote
I am trying to use WCF to do some remote user management things. I
I'm trying to use Unix cut to remove the first two fields per line.

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.