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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:48:19+00:00 2026-06-03T20:48:19+00:00

I have set up some remote validation in my controller for email validation so

  • 0

I have set up some remote validation in my controller for email validation so that the email can be verified right away. I am hoping to take this a little bit further and validate the email as the user is still typing. Right now it validates when the user takes the focus off of the text box for the first time but if they go back to the text box, it will validate on a key up. Is there a way to set up remote validation with a different trigger? Maybe even a key up but after a certain amount of time has elapsed?

  • 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-03T20:48:23+00:00Added an answer on June 3, 2026 at 8:48 pm

    You can do this with a basic setTimeout in Javascript before running your validation code.

    A quick example using jQuery:

    $('#myElement').keyup(function(){
         setTimeout(ValidationFunction,1000);
    });
    

    If you need to clear the timeout when a key is pressed you can do:

    var myTimeoutFunction;
    
    $('#myElement').keyup(function(){
             myTimeoutFunction = setTimeout(ValidationFunction,1000);
        });
    
    $('#myElement').keydown(function(){
         window.clearTimeout(myTimeoutFunction);
    });
    

    Here’s a working example

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

Sidebar

Related Questions

In my init I have set some variables and one animate that uses those
I have 16 bits. In each bit I can set some property and send
Richfaces 3.3.3, Jsf 1.2: I have a a4j:form that uses some simple validation, mainly
I have an ant script that runs some Selenium tests. This works perfectly when
I have set up some code so that when two separate buttons are tapped
I have a long running query that returns a large data set. This query
I have one AlertDialog which is working fine.I have set some background images to
I have to set some routing rules in my php application, and they should
I have java script code to set some of the properties of ajax controls.
I have a floated span with some text. I have set the overflow to

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.