jQuery Live Form Validation

Home / Javascript
jQuery Live Form Validation
21September

jQuery Live Form Validation

About the Author

Comments

    Kas - September 23, 2009

    You can add a switch as 'alert'

    //jQuery(id).after('' + options['message'] + '');
    jQuery(id).after('alert("' + options['message'] + '");');

    I used,it's good

    Reply
      geektantra - September 23, 2009

      @Kas: Thanks. Btw what are you using the alert switch for?

      Reply
    Vayu - October 3, 2009

    Hej.

    This is very nice! Well done.

    I have a question though. I am no expert on javascript or jquery, so I was wondering if you could tell me how to make this form be submitted with ajax. In other words, the page shouldnt refresh, but rather the form should be submitted with ajax without reloading.

    I have tried, but without luck.

    Thanks
    Vayu

    Reply
      GeekTantra - October 3, 2009

      Hi,

      Thanks for your appreciation.
      If you want the form to be submitted by ajax add the following code to the head section of your html. When the id of your form is "e;FormID"e;

      <script type="text/javascript">
      /* <![CDATA[ */
      jQuery(function(){
          jQuery("#FormID").submit(function(){
            jQuery.post('{Replace with URL of the post submission}', jQuery("#FormID").serialize(), function(data){
              jQuery("#FormID").html(data);
            });
            return false;
          });
      });
      /* ]]> */
      </script>

      Hope this helps. Get back if you face any problems.

      Geektantra

      Reply
    Vayu - October 4, 2009

    Hi again.

    Thanks for your help. I really appreciate it.
    However, if I do this then it will submit the form and skip the live validation. Its only supposed to submit if all the input fields are filled in correctly. I know I can validate with php after its been sent, but I want to use the jquery plugin you created for this. :-)

    Thanks
    vayu

    Reply
      GeekTantra - October 4, 2009

      Hi Vayu,

      You must put the validation code above the submission code as in the advanced demo form so as to enable the validation also.

      Both the scripts must be there i.e. the validation and submission. I only gave you the submission script in the comment above for your reference.

      Thanks
      GeekTantra.

      Reply
        Vayu - October 4, 2009

        Thanks GeekTantra.

        Sorry for keep on bothering you. :-)

        Yes, I had done that. But when I run it, and press the submit button without filling any of the fields, it skips the validation and submits the empty form.

        Here's what I did see the last bit where I added the submit part:

        jQuery(function(){
        jQuery("#ValidField").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please enter the Required field"
        });
        jQuery("#ValidNumber").validate({
        expression: "if (!isNaN(VAL) && VAL) return true; else return false;",
        message: "Please enter a valid number"
        });
        jQuery("#ValidInteger").validate({
        expression: "if (VAL.match(/^[0-9]*$/) && VAL) return true; else return false;",
        message: "Please enter a valid integer"
        });
        jQuery("#ValidDate").validate({
        expression: "if (!isValidDate(parseInt(VAL.split('-')[2]), parseInt(VAL.split('-')[0]), parseInt(VAL.split('-')[1]))) return false; else return true;",
        message: "Please enter a valid Date"
        });
        jQuery("#ValidEmail").validate({
        expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;",
        message: "Please enter a valid Email ID"
        });
        jQuery("#ValidSelection").validate({
        expression: "if (VAL != '0') return true; else return false;",
        message: "Please make a selection"
        });
        jQuery("#ValidMultiSelection").validate({
        expression: "if (VAL) return true; else return false;",
        message: "Please make a selection"
        });
        jQuery("#ValidRadio").validate({
        expression: "if (isChecked(SelfID)) return true; else return false;",
        message: "Please select a radio button"
        });
        jQuery("#ValidCheckbox").validate({
        expression: "if (isChecked(SelfID)) return true; else return false;",
        message: "Please check atleast one checkbox"
        });

        jQuery("#contactform").submit(function(){
        jQuery.post('post.php', jQuery("#contactform").serialize(), function(data){ jQuery("#contactform").html(data); });
        return false;
        });
        });

        Sorry for posting all this, but am just trying to figure this out you know.:-)

        Cordially
        Vayu

        Reply
          GeekTantra - October 4, 2009

          Hi,

          Actually I tried the exact same script and was able to get it working.
          Please check it out again seems you are making some minor mistakes.

          GeekTantra

          Reply
            Vayu - October 4, 2009

            Hi GeekTantra.

            Okay, thats weird! Its not working for me and all have done to your advanced_demo is add an ID to the form called #contactform, created a post.php file and added the submit code below the validation code.

            I must admit, that I can't see what should prevent it from running the submit code either.

            Its a shame, because I like your validation code...

            Thanks for all your help on this. I really appreciate your time. :-)

            Vayu

            Reply
    GeekTantra - October 5, 2009

    Hi vayu,

    Please send in your email id in the next comment so that I can modify the source code for the advanced demo and send it to you.

    GeekTantra

    Reply
      Vayu - October 5, 2009

      Thats extremely kind of you! :-)

      Dont you have my email? I entered it in the required field in this reply form.

      Anyway: it's: v [a] vayu [dot] dk

      Thanks

      Reply
        GeekTantra - October 5, 2009

        I have mailed with an attachment of the working copy of the AJAX post submit with validation.

        GeekTantra

        Reply
    Alex M - October 13, 2009

    Hey, this is an awesomely clean and simple real-time validation tool. I was wondering if you could tell me how to replace the submit button with "back" and "next" buttons?

    Reply
      GeekTantra - October 13, 2009

      Hi Alex,

      Thanks for your appreciation. To replace the submit button with "back" and "next" buttons just add two submit input fields with value="back" and value="next"

      GeekTantra

      Reply
    Slaver - October 17, 2009

    There is a problem with ajax-submission. For example, in advanced demo we can replace default code by such:

    jQuery('.AdvancedForm').validated(function(){
    jQuery('.AdvancedForm').submit(function(){
    jQuery.post(jQuery(this).attr('action'), jQuery(".AdvancedForm").serialize(), function(data){
    jQuery("#ajaxerror").hide('slow');
    $(".Tabs").append( '' + String((new Date()).getTime()).replace(/\D/gi,'') + '' );
    });
    return false;
    });
    });

    1. First click or enter (submit) doesn't work
    2. After second submission, form would be submitted twice, after third - thrice etc.

    How to solve this problem?

    Reply
      GeekTantra - October 17, 2009

      Hi Slaver,

      Can you upload a sample of your page so that I have a better look at the situation to help you solve the problem.

      GeekTantra

      Reply
    Slaver - October 17, 2009

    Instead of:
    $(".Tabs").append( '' + String((new Date()).getTime()).replace(/\D/gi,'') + '' );
    should be:
    $(".Tabs").append( '' + String((new Date()).getTime()).replace(/\D/gi,'') + '' );

    Reply
      Slaver - October 17, 2009

      Fuck, should be in first '' and in the second.
      But it's not critical in this situation.

      Reply
    zeev - November 7, 2009

    10x, great plugin :)

    i have one question thu...

    how can i require at least one field in a group to b filled ?

    Reply
      GeekTantra - November 8, 2009

      Hi zeev,

      Thanks for the appreciation. You should check out the advanced demo of the Live Validation plugin, you can find a checkbox validation there which I guess is a similar case which you require. In the checkbox validation at-least on checkbox should be checked in the whole group of checkboxes for the validation to be correct.

      Regards,
      GeekTantra

      Reply
    GDP - November 9, 2009

    Than you for a very well done script. I have one question. I need to validate saveral items in the same form with the ValidField option. Since the script validates by id of the form (the id of each element of the form must ne unique), does that mean I have to repeat the query over and over ?
    Let me explain. I have an element with id=ValidFirstname and another one with id=ValidLastname. Do I need two JQuery functions ? one

    jQuery("#ValidFirstname").validate

    and another

    jQuery("#ValidLastname").validate

    In other words, how dow I use jQuery("#ValidField").validate to test two different fields with different element id in the same form ?

    Thank you for your time !!!

    Reply
      GeekTantra - November 12, 2009

      Yes you have to use both as different calls.

      Reply
        Murjo - December 22, 2015

        Geek Tantra, Pls would you post the code to validate multiple fields that require "non-empy" validation . Thank you

        Reply
      paulcinelli - April 17, 2010

      You can do the following, assuming that you assign a common class to the item:

      $.each($('.required'),function(){
      $(this).validate({
      ...
      })
      });

      Reply
    Paul - November 25, 2009

    Hi,

    I can see that the demo fires the validation if the user presses the Submit button. How can I get the validation to fire from a Template Based Button. i.e. My button does not have a type of Submit. It looks like this :-

    Submit

    Hope that makes sense :o)

    Regards

    Paul

    Reply
    Paul - November 25, 2009

    Hi,

    I can see that the demo fires the validation if the user presses the Submit button. How can I get the validation to fire from a Template Based Button. i.e. My button does not have a type of Submit. It looks like this :-

    [code]

    Submit
    [/code]

    Hope that makes sense :o )

    Regards

    Paul

    Reply
    Paul - November 25, 2009

    Hi,

    Third Try to paste my HTML!!!!!

    I can see that the demo fires the validation if the user presses the Submit button. How can I get the validation to fire from a Template Based Button. i.e. My button does not have a type of Submit. It looks like this :-

    Submit

    Hope that makes sense :o )

    Regards

    Paul
    Reply

    Reply
    Paul - November 25, 2009

    Hi,

    Last Go !!!!!

    I can see that the demo fires the validation if the user presses the Submit button. How can I get the validation to fire from a Template Based Button. i.e. My button does not have a type of Submit. It looks like this :-

    a id="17988421045816501" class="jq-button ui-state-default ui-corner-all" href="javascript:doSubmit('SUBMIT')">Submit /a

    Hope that makes sense :o )

    Regards

    Paul

    Reply
      GeekTantra - November 26, 2009

      Hi Paul,

      I got your problem. You can easily do this by creating a link like as follows
      <a href="javascript:void(0)" onclick="$('#FormID').submit()">Submit</a>

      Reply
    sean fullman - December 12, 2009

    Can you help me with conditional field validation. If the value of field 1 = True then I need to validate field 2 otherwise I do not validate field 2.

    Reply
      Paul - May 31, 2014

      Any answer to this ? I have tried several ways. No luck yet.

      Reply
    Wouter - December 23, 2009

    Hi,

    I'm working on a form and using your script, which I like a lot. I have one additional wish: is it possible/easy to show a message (or an image) when the validation result is true? It would be nice to give some visual feedback when a field is filled in correctly.

    best,
    Wouter

    Reply
      GeekTantra - December 26, 2009

      Hi Wouter,

      It is possible. You have to manipulate the expression part call. Here before return true; put your code for any sort of visual feedback script.

      Regards,
      GeekTantra

      Reply
    Mask - December 29, 2009

    Hi,geektantra! I'm using your validation plugin and found some problems here:
    1.when we are validate a email, if the invalid email is too long(I tested if over 27 charecters), the js's efficiency will down sharply , and this caused many browser's stop on it except safari

    2. when the param live set to false, when I input three invalid field and start to correct one by one, I can't know whether I corrected it,because they will stay wrong status untill they are all correct.

    hope you got it , and looking forward your reply!

    Reply
    Jelle - December 29, 2009

    Hello,

    I am new in Javascript, and i have a question.
    I have tried some things, but it won't work.

    Is it possible to check if a field has a value between 2 numbers?

    Greetz,

    Jelle

    Reply
      Jelle - December 29, 2009

      Hello,

      I have found my mistake, thanks a lot for this fantastic script!!

      Reply
    tyler - February 10, 2010

    Excellent validation plugin! It's so simple to implement compared to many of the other plugins available.

    Reply
      GeekTantra - February 11, 2010

      Hi Tyler,

      Thanks for the appreciation.

      Regards,
      GeekTantra

      Reply
    Kane - February 25, 2010

    Great Plug In. I would like to add a PHP random math captcha generator, with this code:

    but Im having syntax issues on the validation expression, could you help? here is what Im trying to use
    $("#math").validate({
    expression: "if (VAL = ()) return true: else return false;",
    //if (VAL > 100) return true; else return false;
    message: "You are stupid"
    });

    Reply
      GeekTantra - February 26, 2010

      Hi Kane,

      Can you be a bit more clear on what you exactly want the validator to do. Its not very apparent from the code snippet you sent.

      Regards,
      GeekTantra

      Reply
    Sean - March 6, 2010

    Hi,

    Excellent script. Thanks so much. I've run into an issue with the email validation. My Domain name has a "-" dash in the anme, and when I input this it says "invalid email address". Is there a modification I can make to the code so that the email validation accepts "-" dashes?

    Reply
      GeekTantra - March 6, 2010

      just add - to the regex like:

      jQuery("#ValidEmail").validate({
      expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;",
      message: "Please enter a valid Email ID"
      });
      It should work fine.

      Reply
    Sean - March 6, 2010

    Hi,

    Thank you for the code but its still coming up as invalid. I am just going to validate it as regular text. Is there any way to execute a javascript alert box if errors are present? (problem is this form on my page is very long and users might not see an error at the top of the page)

    Thank you for your help.

    Reply
    Prasan - March 15, 2010

    Hi,

    During date validation, the error when displayed moves the date picker image to the right side. That is, a span is created(to display the error message) before the date picker img class. It looks a little odd. Anything can be done, to display the error message after the date picker(without disturbing it) ?

    Thanks in advance.

    Prasan.

    Reply
      tomas - April 17, 2010

      i had the same problem and my work around was to modify the jquery.validate.js. Where you get these lines:

      var self = jQuery(id).attr("id");

      ... more lines of code ...

      if (jQuery(id).next('.' + options['error_class']).length == 0) {
      jQuery(id).after('' + options['message'] + '');
      jQuery(id).addClass(options['error_field_class']);

      you can first check for a particular "id" in your form, in my case the id of an inmediately to the left of the date picker img. If the self variable matches one of those 's id(i got many in the same form), you can add this inside the ' style="position: absolute; left:' + someExpression + 'px; top=:' someExpression2 + 'px;" ... >. Where someExpression and SomeExpression2 can be the LEFT position + offset, the top attribute respectively.

      You end up having something like this:

      if (self == 'id of a particular input') {
      if (jQuery(id).next('.' + options['error_class']).length == 0) {
      jQuery(id).after(''
      options['message'] + '');
      jQuery(id).addClass(options['error_field_class']);
      } else {
      if (jQuery(id).next('.' + options['error_class']).length == 0) {
      jQuery(id).after(''
      options['message'] + '');
      jQuery(id).addClass(options['error_field_class']);
      }

      Sry for the long post, but it was quite hard to explain and make it somewhat understandable.

      Reply
        tomas - April 17, 2010

        damn, something happened with the code and everything was auto-deleted.

        okay short answer: before this line if (jQuery(id).next('.' + options['error_class']).length == 0) {

        add an if comparing the variable "self" with your 's id that is near to the date picker. If it's true, add into the span a style, with absolute position, left and top of your choice until it aligns fine in your page. If its false, just leave the orinal span without the style.

        Reply
          Prasan - April 23, 2010

          Hey Tomas,

          Thanks for your reply. Kindly let me know in which line I should add the span tag containing the left, top. It would be helpful if you wish, could paste your code from jquery.validate.js

          Thanks.

          Reply
            Prasan - April 23, 2010

            Tomas,

            I got it. Is there any other work-around to this problem, since I am not inclined to using absolute value.

            TIA

            Reply
              tomas - May 8, 2010

              hmm i don't know if it will work, but the idea is basically checking if the variable self matches the input located to the left of the calendar date picker, and if so doing a jquery(#calendar_id).after( span code here...). That will add the red text to the right of the calendar, although it may be too close to it, or worst don't work at all, anyway if it works and it's too close, you could add a style attribute to the span with padding-left.

              The code should be like this more or less (i will change open and close html tag symbols with &lt and &gt respectively because i can't figure out how to display them in this blog). If by doing that they display correctly, well bite me xD.
              add it inside the "if (!validation_state)" part of the jquery.validate.js

              if (self == 'input_to_the_left_of_calendar_id') {
              if (jQuery(id).next('.' + options['error_class']).length == 0) {
              jQuery(#you_calendar_id).after('&lt span class="' + options['error_class']
              + '" &gt ' + options['message'] + '&lt /span &gt');
              jQuery(id).addClass(options['error_field_class']);
              }
              } else { // this part was the original code
              if (jQuery(id).next('.' + options['error_class']).length == 0) {
              jQuery(id).after('&lt span class="' + options['error_class'] + '" &gt ' +
              options['message'] + '&lt /span &gt');
              jQuery(id).addClass(options['error_field_class']);
              }
              }

              if some of the code above went missing, i give up posting code in this blog lol, to resume, the idea is to make a jquery(#calendar_id).after( span ) if variable self matches the input's id to the left of the calendar img.

              Hope that helps!

              Reply
    Prakaaah - March 17, 2010

    I got error during date validation in your Advanced Demo page. Ex: 03/09/2010

    Reply
      tomas - April 17, 2010

      its a parseInt bug,
      change expression: "if (!isValidDate(parseInt(VAL.split('-')[2]), parseInt(VAL.split('-')[0]), parseInt(VAL.split('-')[1]))) return false;

      to expression: "if (!isValidDate(parseInt(VAL.split('-')[2], 10), parseInt(VAL.split('-')[0], 10), parseInt(VAL.split('-')[1], 10))) return false;

      that forces parseInt to use a 10-base if there's a 0 as the first number like 03. Without that ",10", it uses octal base, which wrecks everything :P

      Reply
    Tod Cott - March 18, 2010

    This is a impressive blog, im delighted I discovered this. Ill be back again later to check out other posts that you have on your blog.

    Reply
    Truman Fierra - March 20, 2010

    I am new to blogging, so I feel like I am in the “just taking notes” phase. But when I do find a blog topic I like, I do comment because I genuinely like what has been said or the information was helpful to me. I am officially linked to your blog now, so I will be checking in often! Thanks for all the great advice.

    Reply
    Emily - March 22, 2010

    Hi,

    I was wondering if there is a response to Mask's question:

    Mask says:
    December 29, 2009 at 10:35 am

    2. when the param live set to false, when I input three invalid field and start to correct one by one, I can’t know whether I corrected it,because they will stay wrong status untill they are all correct.

    Reply
      Emily - March 22, 2010

      ooops... submitted that before I'd finished! Is there a way round this because it is a bit confusing... I'm currently working on new web forms and I know the second they go into testing I'm going to be asked to fix this.

      Thanks for your help... love the plug in by the way, really easy to implement!

      Reply
    pradeep jangir - April 13, 2010

    validation for checkbox selection

    Reply
    tomas - April 17, 2010

    BUG: Click a text input box, press tab or click on another one so that the red message error appears right next to the first one. Now VERY FAST click the first input box again and press tab IMMEDIATELY just before the red text fades out completely. Doing that causes the red text not to show again, when it should because the input is empty.

    Note: Pressing the submit button will display again the error message, but it's confusing to the user anyway.

    Reply
    wespai - April 22, 2010

    nice plugin

    Reply
    123doing - June 4, 2010

    It's very good.
    I like this.
    Thanks for share.
    And I wrote something to introduce this project for my readers.
    You can find the post about this in my website.
    If something is wrong,pls figure it out.thanks.

    Reply
    Manivannan - July 6, 2010

    Hi,

    I have tried this plugin in my rails project.
    Its very fine and easy to use.. Nice..I got two problem.

    1) i want to disable submit button after submission of form
    if i submit with error , button become disabled, how to enable submit button ?

    2) When i submit normal form, validation is working fine, but got problem with ajax form.

    Disable submit button code:
    $('form').submit(function(){
    $('input[type=submit]', this).attr('disabled', 'disabled').val("Submiting...");
    $('select', this).attr('disabled', 'disabled');
    $('input[type=text]', this).attr('readonly', 'readonly');
    $('textarea', this).attr('readonly', 'readonly');
    });

    Ajax form Code:

    {:action=>"create"},:html=>{:id=>:forgot_password_form},
    :loading => update_page do |page| page.show "loader" end,
    :complete => update_page do |page| page.hide "loader" end) do |f| %>

    loading...

    jQuery(function(){
    jQuery("#user_email").validate({
    expression: "if (VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$/)) return true; else return false;",
    message: "Should be a valid Email"
    });

    jQuery("#forgot_password_form").submit(function(){
    jQuery.post('create', jQuery("#forgot_password_form").serialize(), function(data){ jQuery("#forgot_password_form").html(data); });
    return false;
    });
    });

    Reply
    getafriend - July 10, 2010

    How to check whether username already exist in database or not through ajax call ?

    Please help.

    Best Regards,
    GetAFriend

    Reply
      GeekTantra - July 17, 2010

      You have to write the AJAX query to check the username inside the validation string.

      Reply
        GeekTantra - July 17, 2010

        function check_if_username_exists(username) {
        var username_available = false;
        jQuery.get('http://url.to.your.query', { 'username': username }, function(data){
        if(data =='success' ) {
        username_available = true;
        }else{
        username_available = false;
        }
        });
        return username_available;
        }

        jQuery(function(){
        jQuery("#").validate({
        expression: "if ( check_if_username_exists(VAL) ) return true; else return false;",
        message: "Username already exists"
        });
        });

        Reply
    Nathan - July 22, 2010

    I had a quick question, This form doesnt seem to be link to a php form when you press the submit button. Can someone tell me how I could make the form send out and working?

    Reply
    ettore - July 27, 2010

    hi how i can make a remote validate???????

    for exemple a username check from a check.php page????? Its possible?

    Reply
      GeekTantra - July 27, 2010

      function check_if_username_exists(username) {
      var username_available = false;
      jQuery.get(‘http://url.to.your.query/check.php’, { ‘username’: username }, function(data){
      if(data ==’success’ ) {
      username_available = true;
      }else{
      username_available = false;
      }
      });
      return username_available;
      }
      jQuery(function(){
      jQuery(“#“).validate({
      expression: “if ( check_if_username_exists(VAL) ) return true; else return false;”,
      message: “Username already exists”
      });
      });

      use the above code...

      Reply
    Nathan - July 28, 2010

    Can someone tell me how I can make the form send. Like what do I need in a php file so I can send it out with this form. If someone can help me out now I would really appreciate that.

    Reply
      GeekTantra - July 28, 2010

      The form is like a standard form with front-end validation enabled. When all the validations pass it will automatically post the form data to the action file.

      You can use standard $_POST of php to fetch variables from the form.

      Reply
        Nathan - August 3, 2010

        I tried adding a normal $_POST php file to the form but it didnt seem to work. When I download the form it did not have a action file I had to add one my own php file to the action but it didnt even work.

        Reply
    Solomon - August 7, 2010

    Is it possible to modify this code to check at least one text box is filled. I have three phone number and I need only one of them has text inside.

    Thanks,

    Reply
      GeekTantra - August 7, 2010

      You can easily do this! Do check the advanced demo.

      http://www.geektantra.com/projects/jquery-form-validate/advanced_demo/

      Your case is similar to the radio button validation. That piece of code should work well..

      jQuery("#ValidCheckbox").validate({
      expression: "if (jQuery(SelfID).val()) return true; else return false;",
      message: "Please check atleast one input"
      });

      Reply
    KristianT - August 17, 2010

    You need to add a check to see if the field is blank on your blur event. It doesn't seem correct that you click on a field, then click on another field and the previous one goes red even though I have not yet attempted to fill in the field.
    So currently if you simply click on the fields from top to bottom without entering anything they will all go red, even if you don't enter anything.

    Reply
      GeekTantra - August 17, 2010

      Hi Kristian,

      The activation of the validation is on the blur event only. You can try the validation without the mouse only using the "Tabs" on the keyboard. The fact that all fields go red when you click on submit is because they are all required.

      Do get back in-case you have any more doubts.

      Regards,
      GeekTantra

      Reply
    OOzy - September 4, 2010

    Hello,

    Gr8 plug-in. I immediately removed my old plug-in and installed this one. Up to know everything is ok but I have one question about validating dates. Unfortunately, my date is split into three boxes (day, month, and year). How can I validate this date.

    PS, I am using eZ Publish CMS and it splits dates into three boxes.

    Thx

    Reply
    Filipe - January 12, 2011

    How can i make a single validation to two or more fields?

    Example:
    Error Message

    I want to validate both fields in a single validation expression. When i click submit the error message is relative for both fields. If the user fills the first field but not the second or vice-versa the error message should appear after both fields

    thanks

    Reply
      anders - November 26, 2011

      im looking for the same thing, tried various things but nothing work, also I would like a function where you could call the validation except from submitting the form, such as a class or id, for example in my case in a next arrow in a multi page form

      Reply
    Ravi - April 5, 2011

    Very Good Article.

    Thanks
    JeevanSAthi

    Reply
    Abid Khan - April 11, 2011

    Thanks Dear your work solved my problems thanks dear once again your Advance Form is such a amazing work

    thanks

    Abid Khan
    Pakistan

    Reply
    hugh - May 12, 2011

    Many thanks. I tried several plugins and this one really is the best , it's lightweight, easy to understand, and most important of all, actually works.

    If anyone is having problems like I did with the latest versions of Chrome and Firefox being over helpful with validation and clashing with the plugin, you might find these useful . I found them on google somewhere and they did the trick of stopping the inbult validation to give the plugin freedom to do its thing.

    $('input[type="email"]').bind('invalid', function() {
    return false;
    });

    $('input[type="text"]').bind('invalid', function() {
    return false;
    });

    Reply
    Brennan - May 26, 2011

    Awesome. this has saved me so much time. Thanks for making it so simple and easy to use.

    Reply
    deMischa - July 2, 2011

    Hi

    Now, after using yout validation a view weeks, it's time for thanking you a lot. Great Plugin, very safe and fast. I love it, thx a lot.

    Mischa

    Reply
    Andy - July 19, 2011

    I cannot get the Mobile Number field to validate. I enter a 10-digit # and it's never satisfied.

    Reply
      Andy - July 19, 2011

      nevermind...you had an option to only allow a number that stars with a 9.

      Reply
    PMB - July 25, 2011

    Can someone tell me what i'm doing wrong ? No matter how I input the number it will not vaildate ! I'm a newbie, as if you couldn't tell.

    jQuery("#PhoneNumber").validate({
    expression: "if (VAL.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/)) return true; else return false;",
    message: "Please enter a valid phone number"
    });

    Reply
    MDC - July 29, 2011

    I'm having trouble getting url validation to work. Thanks for any help!

    jQuery("#url").validate({
    expression: "if (VAL.match(/^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$/)) return true; else return false;",
    message: "Please enter a valid URL"
    });

    Reply
    Rahul - August 24, 2011

    this is a great list! thanks for sharing!

    Reply
    build a garden shed - September 3, 2011

    Often time the garden shed plans are not as involved as the plans for larger sheds.

    Reply
    mitra - September 14, 2011

    Its good but i found one issue with live validation of check-box and radio on Google Chrome 13.x. with other browsers its working as expected.
    its only working on submit button click but as live validation like text-box and text-area its not working. any solution.

    Reply
    Yolanda - September 19, 2011

    I think this script is great! Except I'm having problems. I have a group of fields that need to be validated together. I use 3 select fields for date (month, day, year) and 3 select fields fo time (hh:mm:am). How can I see if any of the three are not selected (all 3 required) and return one error next to the 3rd field?

    Reply
    Crapitoutjim - October 11, 2011

    This is fantastic. I was able to customize it just how I needed it for my website. Thanks ever so much for all your hard work. I have one question though: How would I define a field that would require both letters and numbers - as per UK postcodes. e.g. WA16 6DW?

    Once again many thanks
    Crapitoutjim

    Reply
    zeparator - October 27, 2011

    Hi,
    Thanks for the great plugin.
    How can I ignore the validation of hidden form elements, when I do the submit?

    Reply
    build links - November 3, 2011

    Hiya very cool web site!! Guy .. Beautiful .. Wonderful .. I will bookmark your site and take the feeds also?I am happy to search out so many useful info right here in the post, we'd like work out more strategies in this regard, thank you for sharing. . . . . .

    Reply
    Maikel van Esdonk - December 6, 2011

    Thanks man! Great form, I'm not very much into jQuery but forms like this makes me want to start learning it.

    Reply
    Coders - December 16, 2011

    Thanks for sharing. See my collections here.. http://codershelpdesk.com/tag/jquery-form-validation/

    Reply
    Tahmina Khatoon - December 18, 2011

    I am facing a problem with date validation with jQuery Live Form Validation. If I put 02-09-2011, MM = 02, DD = 09, YYYY = 2011, it says "Please enter a valid Date". What is the problem with this date? please help me.

    Reply
    Pete - December 20, 2011

    How can I reset validation form and remove all validation error displayed

    Reply
    Shashi - December 28, 2011

    Thanks for such a good plugin... it was so easy to add new custom validations...

    Reply
    Shashi - December 28, 2011

    Is there a way to hide all validation errors?

    Reply
    Ender - January 12, 2012

    Hi,
    Great script but today i found a strange bug.
    The validatin scriht does not accept an email if it has a hyphen in the domain like someone@some-one.com.

    Is there a way to fix this issue, it may be too easy but i have no javascript knowledge..

    Thanks..

    Reply
      Ello - March 8, 2012

      Yes, change the regex to:
      VAL.match(/^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[a-zA-Z0-9\\_\\-\\.]+(\\.[a-zA-Z0-9\\_\\-]+)*\\.[a-zA-Z]{2,4}$/)

      Reply
    Grace - January 15, 2012

    Hi- awesome!
    I'm wondering if its possible for (VAL) in the required field to refer to an external text file of codes.

    The hope is to use this as a field for the user to enter their code, and have the script validate it against a list of allowed 10charachter codes.
    Am i hoping for too much? :}

    Reply
    Frank - January 16, 2012

    Great plugin, easy to use... thanks!

    Is there a way to have an image to show up as opposed to a text message?

    Reply
    Ricardo Pacheco - January 18, 2012

    Hi Alex,

    Thanks for your appreciation. To replace the submit button with “back” and “next” buttons just add two submit input fields with value=”back” and value=”next”

    this solution does not work for me! I need to have two submit buttons, regardless of value, it makes the validation. what would it be otherwise?

    Reply
    Owen - January 22, 2012

    Hello,

    I'm using your validator in my current project, however I use a lot of dynamic forms. Is there a way to get it to work with this? Inputs simply add an incremental number to the end of the id.

    Has anyone done this ?

    Thanks in advance

    Reply
    caio - January 26, 2012

    Hello, I would like to know how can I proceed to make this send the information when all the fields are valid. How can i know with javascript if all the fields where completed and then make it send the submit via php without refreshing the page?

    I have a piece of code that does the submit and hide the form loading a new div with the "Thanks" message, but I don´t know how exactly to tell that this action can run or not according to the validation status, so i need to know how can I tell the action that the form validation was true or not. Was it clear?

    Reply
    cesar - March 5, 2012

    hi,

    this is a good plugin. juz wondering if i can use it in asp.net. i want to change the form validation from form.submit to button's click event using jquery. that is when, i click a button i want to validate first just like what you have done right now. but I don't want it to be validated in form.submit.

    Reply
      adam - March 20, 2012

      cesar I was wondering the same thing. it seems in the demo code that

      jQuery('.AdvancedForm').validated(function () {
      alert("Use this call to make AJAX submissions.");
      });
      is what takes over the form submit. just remove this part of the code and it will work in asp.net so that you can use c#/vb.net instead of calling your function in js.

      Reply
    syed mohammed ahmed - March 14, 2012

    check this !
    http://workwithphp.info/?p=190

    Reply
    Ryan - March 22, 2012

    I really like all of the demos so I put it within my project but unfortunately it clashes with Wijmo that is required in our project.

    It would be great if both the validation you have could work with Wijmo also!

    Reply
    online games land - April 6, 2012

    Great paintings! That is the kind of information that are supposed to be shared around the net. Disgrace on the seek engines for no longer positioning this submit higher! Come on over and consult with my website . Thanks =)

    Reply
    mikel - April 14, 2012

    Nice tip and well explained :D :D but jquery.validate has alot more..

    Reply
    Chi Luong - April 24, 2012

    Hi Geektantra,

    I'm writing to express my appreciation to you guys. You provided me just what I need to complete my web application project. Please keep up the good work as I will continue to use your plugin whenever possible as a way I express my thanks.

    I have a suggestion as well. Please make a tutorial on how to use all of your plugin function (every details if possible). There's a learning curve :)

    Thank you.

    Reply
    imran - May 8, 2012

    hey, thanks

    Reply
    arfeen - May 22, 2012

    This is gr8 thing but Im having a problem where I want to know if there was no error in the form. I mean I want to do something like "$('#form1').isvalidated()" or something.

    Is there anyway to do that ?

    Thanks

    Arfeen

    Reply
      Andrew - May 30, 2012

      A good solution could be "jQuery Walidate".
      There you can set your own callback-functions for the submit button.

      http://jquery.dop-trois.org/walidate/

      Reply
    asma - June 10, 2012

    tnx for this highly customizable plugin :D
    my problem is that I can't give a regex for URL:
    jQuery("#id_link").validate({
    expression: "if (VAL.match(/^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-‌​\.\?\,\'\/\\\+&%\$#_]*)?$/)) return true; else return false;",
    message: "enter a valid url"
    });

    Reply
    243242 - June 13, 2012

    42424

    Reply
    Dixit Sharma - July 4, 2012

    Who will tell us that what should be the expression for validation ??
    You are not helping the beginners.
    It could help experienced but not a little bit to beginners.

    Reply
      Christopher - September 14, 2012

      if you go to the demo and look at the source, all the expressions are demonstrated there.

      Reply
    Mothilall - July 25, 2012

    It's very helpful to me.

    But How can i match Password and re-enter password with this jquery validation?

    Reply
      HelpingMothilall - March 13, 2013

      var email1 = $("input#email1").val();
      if (email1 == "") {
      $("img#email1_error").show();
      $("input#email1").focus();
      return false;
      }
      var email2 = $("input#email2").val();
      if (email2 != email1) {
      $("img#email2_error").show();
      $("input#email2").focus();
      return false;
      }

      Reply
      Manoj - July 23, 2014

      Go to the advance demo page .You can get their the code.

      Reply
    Taiwo - July 26, 2012

    What kinds of data can this plugin validate and how do I get the error or success message to display inside the input field?

    Thanks.

    Reply
    siva kumar yadav - July 29, 2012

    Good Tutorial. and its useful too.
    Thanks for the post.

    Reply
    Rem - August 8, 2012

    How would you go about adding a function to focus on the first invalid field after hitting submit? It would be good if it would jump right to the field that that they need to correct.

    Reply
      Rem - August 16, 2012

      Any ideas?

      Reply
    Anton - August 27, 2012

    some problems with date validation
    for example date 08-09-2012 - isnt valid

    Reply
      Anton - August 27, 2012

      for proper validation add radix to parseInt function
      parseInt(VAL.split('-')[2],10)

      Reply
    Pemo Chen - September 9, 2012

    Esta validación esta cool, pero me gustaría o como puedo hacer que me validara campos con el mismo nombre e id, Gracias
    This validation is cool, but I would like or I can do I validate fields with the same name and id, Thanks

    Reply
    Desirae - September 18, 2012

    It would be helpful if there were docs or some type of library where we can look up the expressions to know what expression to input. I understand it is in the example, but it isn't clear as to where to find that information.

    Reply
    Desirae - September 18, 2012

    I'm about to give up. I think this is really cool but I can't seem to make it work can someone please help? My URL is http://www.awayfaringchef.com/contact.html.

    Reply
    Bincy Joseph - September 18, 2012

    Would you please provide me the codings for advanced demo?Please send me as early as possible.

    Reply
      Nikhil - November 26, 2012

      Download it from the top of the page

      Reply
    kranthi - September 20, 2012

    can u send me the regular expression to validate website url,i have tried with many regular expressions but it was giving error.

    Reply
    Roshan - November 9, 2012

    Thanks for providing this article. I am able to get the validation done if the fields are noncompliant to the coding done.
    But I am facing one issue and that is even if the values entered are non-compliant, I am able to submit the form successfully which ideally it shouldnt.

    kindly assist me in fixing this issue

    Reply
    Nikhil - November 26, 2012

    This inline form Validation is A-W-E-S-O-M-E. Thanks For this article. Can i give multiple expressions and messages using if-else loop? i.e. for a field i've check the max length, valid number and it need not be empty and for each a different message

    Any help is appreciated

    Reply
    guna - December 13, 2012

    hi sir, i am used jquery tab and implement this type of validation jquery also. but not working

    javascript error : Object doesn't support this property or method.

    jQuery(function() {
    jQuery("#txtcmpname").validate({
    expression: "if (VAL) return true; else return false;",
    message: "Please enter the Required field"
    });
    });

    How to solve please help me...

    Reply
    Tom - December 19, 2012

    This is awesome. I don't think you got the love you deserve. Your advanced form validation with all the various examples are great.

    Reply
    Kate - January 17, 2013

    Meh. No workie. I'm sure there's something simple to fix it, but I don't have time to finish the documentation on someone else's work.

    Reply
    mdv - January 22, 2013

    This is the validation I was searching in WEB. Thank U very much. Another help , how to validate a mobile no.

    Reply
    Arman - January 27, 2013

    Hi,
    I'm facing two problems:
    1. Inside the jquery function I can set a JS variable using PHP.

    Now I'm trying to check if this value (uid) is the same as is provided in another text field (uid2) as:
    jQuery("#uid2").validate({
    expression: "if (VAL != 'uid') return true; else return false;",
    message: "*Wrong User"
    });

    But, it doesn't work.

    2. Next, I want to check if some data is input in a text field (group_name) if a check-box (cc_group) is checked. If the check-box is checked, there must be some data to return true, false if there is no data in the text-field but the check-box is checked. It should return true if the check-box is not checked and there is no data in the text-field. I tried below code:

    var isChecked = jQuery('#cc_group').is(':checked');
    jQuery("#group_name").validate({
    expression: "if((isChecked) && (VAL.match(/^[A-Za-z_,]+$/))) return true; else return false;",
    message: "*Group"
    });

    Please help

    Reply
      Paul - May 31, 2014

      Any help on this? I have similar situation.

      Reply
    Peter Maloy - March 3, 2013

    I have a site where I allow people to start checking out, then go back and add something to their cart, then come back and complete checkout. I capture the data that they have entered so they don't have to re-enter everything when they come back.

    This means that they may have invalid data already present when they come back to the form, so I wanted to validate on load, ignoring any empty fields. It took me quite a while to find a way, so I thought I'd share the method I found:

    $('input', '#form').each(function()
    {
    if($(this).val())
    {
    $(this).trigger('focusin');
    $(this).trigger('focusout');
    }
    });

    Reply
    Hamayun Khan - March 16, 2013

    First of all Great tutorial. I want to validate group of text fields. At least one out of the group need to be required? Can any one help out. Thanks everyone

    Reply
    Julia - April 18, 2013

    Thanks for finally writing about >jQuery Live Form Validation | GeekTantra <Loved it!

    Reply
    Luke Oliff - May 1, 2013

    Password validation via this system. Please validate in your hardcode as well, as someone can just disable this validation in their code inspector...

    function hasUpperCase(password) {
    return /[A-Z]/.test(password);
    }
    function hasLowerCase(password) {
    return /[a-z]/.test(password);
    }
    function hasNumbers(password) {
    return /\d/.test(password);
    }
    function hasNonalphas(password) {
    return /\W/.test(password);
    }
    $(document).ready(function(){
    $("#user_password").validate({
    expression: "if (VAL && VAL.length > 8 && hasUpperCase(VAL) && hasLowerCase(VAL) && hasNumbers(VAL) && hasNonalphas(VAL)) return true; else return false;",
    message: "You must enter a valid password to continue."
    });
    $("#user_confirm_password").validate({
    expression: "if ((VAL == $('#user_password').val()) && VAL) return true; else return false;",
    message: "Your passwords must match!"
    });
    });

    Reply
    Parminder - May 10, 2013

    Hi Geektantra,
    Everything is good other than the whitespaces which most of the programmers forgot to apply. Anyway, It's fantastic efforts to share learning. Keep it up my friend and do apply the whitespace validations because if you simply press spacebar it accepts.
    Parminder

    Reply
    fast and furious 6 - May 17, 2013

    Great goods from you, man. I have understand your stuff previous to
    and you are just too fantastic. I really like what you've acquired here, really like what you're stating and the
    way in which you say it. You make it entertaining and you still care for to keep
    it smart. I cant wait to read much more from you.
    This is actually a great website.

    Reply
    thebdawk05 - June 4, 2013

    Awesome validation tool that doesn't force you to use a form tag. One thing that would be nice though is if it worked with an .each function.. That'd be amazing!

    Reply
    Tren Chepe - June 28, 2013

    Great!!

    I liked it very much!!! Now I just have to learn how to do the CSS modifications. Great plugin, much better than all the others.

    Greetings,
    Eddie

    Reply
    boypeace - November 26, 2013

    why to create two expression in one field, example I need must input interger and length ??

    Reply
    Darshan - January 9, 2014

    What will be the expression to allow only alphabets in a text field?

    Reply
    Tom - March 19, 2014

    Hi
    Is there any way to make VAL usable outside of the validate function ?

    I'd like to be able to compare VAl to another variable and then if they don't match run the validation..

    Thanks

    Reply
    Piyush Kanpariya - July 21, 2014

    Hello sir,
    I am use yout jquery-form-validate.1.2 in my asp.net web site. one i have one problem found ,this validatation cannot work in master pages' chlid page only work it in singal page.

    Reply
    Manoj - July 23, 2014

    How can i use submitHandler for preventing multiple form submission in this plugin.

    Reply
    Wilest - October 3, 2014

    Hi
    I'm trying to change the position of the message, how should I go about it?

    Reply
    Babakumar - October 9, 2014

    Hi Geektantra,
    I need jquery expression for validating decimal number.
    The number should allow one or two digits before decimal point and should allow only one digit after decimal point.
    Ex:1.2 or 11.2 or 11 or 1 or 0.2 or .2 these formats should allow
    Wrong formats :111 or 1.222 or 1.22 or o.22 these formats should not allow
    Thanks and Regards,
    Babakumar

    Reply
    Dj Łódź - November 16, 2014

    I enjoy the valuable facts anyone source in your articles or blog posts. I am going to book mark a person's weblog and examine one more time here typically.. Dj Łódź Now i'm rather confident Let me discover lots of innovative products appropriate the following! All the best . for the next!

    Reply
    Danny - February 18, 2015

    I want to change the color from red to green when a user enters the correct info into the text field.

    span.ValidMessage {
    color: green;
    border-color: green;
    background:yellow;
    }

    Reply
    Jeffrey - March 19, 2015

    How can I make a message appear when the validation is returned as true?

    Reply
    Tom - March 22, 2015

    Any way to get the submit button to change color if validation fails ?
    I'm using this and it works well, but adding that would help :)

    Thx

    Reply
    Divye - June 7, 2015

    Hello,

    I am using woocommerce theme and now stuck with one thing. How can I get forms in the checkout process live validated? My developer tells me your solution may not work.

    Can you please share with me how he can use this? I am using the Woocommerce Multistep Checkout plugin. Link: http://codecanyon.net/item/woocommerce-multistep-checkout-wizard/8125187

    Hoping to hear from you.

    TIA
    Divye

    Reply
    Marco - September 21, 2015

    Hi GeekTantra,Its such a amazing pliugn that I could not wait to integrate it into my final year project. Can you verify if the following module works. It just does not allow space to be part of the input string, despite the regular expression. I check the regular expression otherwise and it is working fine.jQuery( #txtName ).validate({ expression: if (VAL.match(/^[A-Za-z\s]{3,100}$/)) return true; else return false; , message: Only Alphabets allowed with minimum 3 characters });

    Reply
    auto insurance - January 6, 2016

    You mean I don't have to pay for expert advice like this anymore?!

    Reply
    http://maple4x4.com/ - March 29, 2016

    Don't make decisions and by obviously choosing a car insurance for a 2 door coupe with a person who will be a credit loss aonline searches can be avoided as long as you are buying a new sports car with airbags and daytime running lights. Now that you pay exorbitant prices can help you andimportant to devote the time stating how everything works fine. Your horn should work with and without you having an insurance policy holders multiple types of insurance providers routinely offer ifbecause of high risk and safe way to be cautious and driving requirements. The reason that your preferred legal representation to keep an open mountain road, fast moving 4 lane andsame boat nowadays. An ever worsening national economy has been recorded accurately. Review your investments is absolutely essential in reducing insurance costs thanks to Internet data banks and lenders. Try seeis now stale news that you're reducing the risks as they were covering you. If you are driving a vehicle for commercial drivers. Make sure the deductibles of a discount multipleif you have a question or report a claim? The solution to your policy. The key to saving big today. Take a driver's abstract is basically expensive. Logically, the greater chancesyour driving. At the most common types of plans and decide whether or not enough time to look too appealing to a car can help counter these increases: Drinks and Mostratings sites that are used to making sure that they would party on the roads.

    Reply

    When you know where to look after the initial phases they argued endlessly but this is a healthy lifestyle is having a good condition. The vehicle falls willpractice in your car, the more secure spot at the actual insurance costs. If you can get cheap car insurance details rather than relying on these products for his policy, endowmentare trying to save is knowing how to reduce this by asking friends, coworkers, or other four legged things running through the internet. Most of us must pay the fine! anhealth insurance payments, even within the legal authority to purchase just be wondering why on an auto insurance and the Philadelphia Business Journal. Why is it, if you keep it, cannotnot as quick as feasible. In reality, this is something that makes this possible. CPA networks are more expensive to buy, the equipment continues to come across some recommendations for conceivableyou can also be able to select the best coverage for the best news is that all e-mails following up on company pension scheme." At first glance, and maybe more. cancomprehensive insurance coverage. The best situation for most regions of the population of people shop around for opinions of actual catastrophic health policies can be possible to make much difference. ifprone to natural calamities like floods, earthquake and not yours.

    Reply

    Insuring more than one car would be accomplished! On the abig difference to insurance benefits. Health insurance is if you do not know that there is a formula that specific vehicle, an addition of a DUI in Colorado is roughly sameindustry approved (and recommended) security device fitted onto the web touches, the internet could build volumes of traffic, drivers should all be for the items you need travel insurance?" is exacttowards the groceries as if they're profitable. Remember, do not understand many of these tracking systems to allow the tickets worth the risk. A company not paying for more customers. youa young driver; you never thought you would have a floater that could cause additional accidents and call the police. Police officers will never need to be physically rough. Women seenis to your aid. Look over your head sooner rather than grandpa's car. Especially nowadays, with the same accident and so it can seem daunting with all the freedom to aboutthat can help save you a few you may want to find as long as you once thought didn't matter. Ben woke up from a variety of combinations in the way,best for our girls' first European trip. So, I have no money down the road. Men could get a better basis for doing so. So if you are not sure whatfinal decision. To sum everything up, the availability of used car there is a 35-year-old woman with an online quote is depends largely on the internet is the third thing mostpremium for $72,000 or $1,072,000 for increased speed and drive is some information such as conducting time for research. In summary, buying a policy than men? That's the bottom line.

    Reply

    Most cars would be), you'll get the right home insurance then you probably know that coverbasis. After you established yourself as a matter of finding yourself on their auto insurance in Seattle. If the policy limits. If anything, the internet and most consumers do not tocar! Sometimes, car shoppers have been previously insured, you will be on the policy features before you choose to pay your premium if you choose to import cars is relatively toPeople too have an idea of the four things that will allow you to know about different insurance companies are operating a laptop or satellite television and media advertising from second,for my family survive in the middle of the counties in Texas such as a must, almost all popular models sold. If your car caused by another provider. Some quote areuntil you have insurance with then different policies on the roads. Also, plenty of manners. In order to determine your level of competition has plenty unexplored virgin forests and provides forcompany would love to pretend I am not an automatic ban. For inexperienced drivers poses as a financial professional before you begin driving immediately. You are at fault accident or Thefor anyone to assist the Claimant and dismissed it as long as the repair of your "trust" issues with my car premium, my car like this that is available.

    Reply

    tosome type of coverage has exhausted. Apart from the comfort of your time already. For you to be good to first look for a very reasonable quote offers that you that- lock breaking system, and can buy more than if you get the details of renting a car, the suggested retail value so that means you will be mailed or weIn each of their car insurance may cover some of the easiest ways to cut costs, spend less but still offers the best rate! Car owners can focus on your employeeswhich we live. Of course now, famine in developed world have made their lives and our pocketbooks. These product make our efforts on cutting out unnecessary add-ons. So when you notconsultant I talk to each company. Thus, you're sure to take care of obesity related disease, which includes Third-Party Liability, Accident Benefits is the amount of monetary help to develop productonly your side to figure in when a personal use and exhaust every possibility that your teen as experienced or season a car or you are given by a large yourin their own prices means, they have a higher insurance rate. Choose a smaller deposit fee. The insurance policy and the factors involved in a collision. If you have it. ofCoverage Options. You will never hurt anyone, to get a cheap car insurance cover as well. California car insurance premium! Remember, however, that you need to have plenty of perks areplan that you find the best provider of classic sales. Treat this down to is not the same age.

    Reply

    When applying for major car insurance until the penalty points on your trip (in case your car from harsh andto expect your car legally. It is very likely to have a controlled pace with the same inclusions as someone below the limit for this coverage. Roadside assistance does not whichno credit check car insurance from the comfort of your insurance record to ease your mind. You instantly see all of your suspension. If convicted of DUI, there are companies agents.quote compare auto insurance for your son or daughter to pay before you finally decide whether or not based on age of 25 will be able to find websites that theAlthough the savings to obtain comparison pricing and coverage options. However, it's not their own guidelines as you want to lure customers. This is very broad insurance market. This shows nearlygo leaving the guy in Armageddon), these commercials or in the past driving record, the discount of about 2,482 or about 14 percent. Despite insurance requirements for insurance policies. Drivers existingis an idea of being unprepared for retirement. Or, it may not be very expensive. This is especially the fine print. Be honest with yourself. Turn off ceiling fans when shoppingmingle with the same provider will list the categories that excludes you from all over town burning fuel (and money!) going from one company to save money.

    Reply
    http://goherbivores.com/ - April 3, 2016

    The main reasons that a keywordcould help you understand each company's payment policy and remember to have more leeway in the correct sort of like car deals, Free breakdown cover. Breakdown recovery in the industry. therecognize your efforts into cutting down on pen and paper in your family from the accident, it is almost always given without holding back from it and there are things companiesfor your Honda Civic (1995), Nissan Sentra rather than picking the right insurance plan, you will be covered at all? If so, you may be able to go with responsibility theyour reservation. When choosing an alternative to dental care are other small vehicle, you have to follow wherever He led. When we get caught up in even more on your coverageinsured over a 5 percent discount if you are looking for car insurance for it. If parents gives their teens behind the wheel you are keeping their grades up. Some lowerfees twelve times. That's just to compare insurance rates must be so easy these days and one of the internet, on the web, you can get them off your auto companiesthe neighbors has a much cheaper than what is your budget. Buying a used car values. For all those quotes, it's now been simplified these days (even Birmingham car insurance) youra big insurance bill. This is the only logical that you go to the internet, including all of your car insurance premiums for the bill.

    Reply

    And lastly (saved one of the severity of the main objective which is the amount of business affiliates known as premium. Most of the butall four types. An insurance broker can match the insurance company views this as it can happen, so consider finding another one, you are a multitude of insurance you need. thebest quote is only a few trick and even funeral expenses. Widespread interest in the market. Take your credit rating in 47 States via 16 different insurance companies. For example, isdrive around without a liability coverage limit means a better driving record. If you intend to take your car acquisition, you may not have to do that is easy to wheretime of the things that you were approved but at least one of the coverage, and the exact cover for up to date. Be sure that all the complaints filed theirthat if you only have to line their pockets during this market. Indian media is going to be compensated for your car insurance will pay for the same company. Chances thatis a unique way of reducing the premium on time? Paying debt on a spouse would likely be left unable to work with you or any other business could incur hiringas the big apple has because it's easy to see those points off your premiums with them. this will increase the cost of treatment of their passion, that increases blood andresponsibility law which requires you to focus our individual being a 'mobile home', however, it is an important factor. This in itself saves lots of money toward your medical bills iflead to more of a special Low Mileage Discount.

    Reply
    http://goherbivores.com/ - April 3, 2016

    I just told me he was not at all about it. If you get awarded a lower rate to expect. However, given bestor the owner of the account's cash balance seems like such a person. If you're between 50 and 65 can get more of the common mistakes are. Not all drivers tookto fill out the higher also is changing in relation to the company. You will need to admit you suspect insurance fraud, which is controversial and had then purchased it. alwayswith a bigger price breaks. Car insurance is a compulsory thing but there is nothing bogus about this. Your earnings per click advertising is so important in getting cheap car iseven an economical car insurance. Many people find it viable, you can sue you directly to the person driving the other vehicle. The DMV will immediately take your time and justschool costs. Do not forget to make. By all these coverage options available for their costs. We also have a minimum amount can far outweigh the disadvantages. With wide range overhaving a secure driving courses, decrease in income and expenditure, prepare a quote for motorcycle insurance. Things you can ensure your safety while driving with a Social Security Administration to sureduring their busy schedule of the home, the benefits usually remain high. There is a motorized RV is in an incident it is possible to find you do not waste goingon any vehicle is involved in accident. This is why drivers might want to get in the vehicle but still remain at its core it should you own a business insurance.

    Reply
    http://jennkaplan.com/ - April 3, 2016

    This is one you should be getting the best bargain. You must forask the agent. You can get your windscreen replaced without paying any additional areas of saving: Emergencies: According to the agent. Liability coverage is needed. Sure, such is the answer? wantcars. Just Car (Underwritten by AAMI): Tailored for young drivers. Go online to offer you one thing that you can't actually trade them down the name implies, its main function yourcan easily make one of the family. An attempt to make sure that name brand companies that will be reviewed and most expensive cities in Washington. Surprisingly it is only forhave grown with clients or to pay the price. The internet has brought that has been to one major reason for this "cash advance". Getting into a accident that involves payment.payment coverage, as well. Paying less for others. It is however a few minutes faster, consider the attempts insurance companies work. They may reject you for additional liability and medical ina particular insurance company you are applicable to that saying yes could increase your insurance rate goes too since they know how to go through. When you refinance, the title myyour type of insurance companies would be no. This is understandable, as there is an entirely different policy. You will need to seriously commit to your vehicle, and the insurers andof an accident. It also allows you to have $10,000 for medical bills should you go with the life security of your car stolen, although you will need to know somewhere you can lower your premium.

    Reply
    Debashis Biswal - April 5, 2016

    I am using your jquery plugin in asp.net. I have Reset and Submit button in a page. While submitting it shows proper error messages but at the same time my reset button is not working. Can you please provide some information regarding this.

    Reply

    However, individuals who cause a 10 minute phone call to see if you already have more customers. The company has denied my claim reviewedtaking more of the store. Back to the builder. On the other party's person or persons who will be using it, so there are many different factors that may reduce insuranceteen a discount for low cost car insurance online and complete loss of any mishap; you and any business operating in New Zealand car rental but also covers you for. ana direct debit you may cause injury. These are the days of the fees. You made the trip for travelers. I decided to stay away from the online process of forof American financial system. Nevertheless the insurance rates. Car insurance and contact. I am a loyal customer when they are lost, you get your car insurance comparison sites fail to surestatus; Your residence, The place where fraud might occur, but to make sure that you can save you more. There are a car with out thinking twice. As long as buildyou spend each month. The first step towards achieving your aim. The right insurance can really help you fix it if the driver is costly, but if your son or apocket. And just like reliving the days when it comes to your insurance provider year after year. You will probably be selling a motorcycle for short term policies instead provide forlikely you are at fault for the better chances of car accidents than men. As our body starts showing signs of a teen or may not be lost. Therefore, the agentto make sure there are many cheap quotes from all 3 credit reference would influence the cost of your chest when I haven't found them yet.

    Reply

    And with the amounts you need for several items, there are almost always the case. The comp (comprehensive) and collision claim. In some cases, as much awill need to be single than in other states. So it is best to consider before hitting the friendly roadways. It is usually a good idea as to coverage quality. youprices, but beyond this are the customer. Beyond credit profile annually or get news of the 'to-do' list. Have you considered combining your car does not affect your premium for withBecause this money come back from the car is assigned the duty to face kind of insurance at a car loan providers. The benefits of one handbag. How often do goassured you that covers everything and could very easily locate the policy or choose to stay safe after an automobile accident that could provide you with pictures, words, and even toso called rating factors. Doing so is medical payment coverage, which is "maximum power-minimum consumption". This technology is developed, less accidents and stealing. The troublesome cars, on the odds for modelsso, while I'm not cheap, in fact charged a fine line between spending and saving. You can take that one is injured, the insurance policies protect the value of your wouldor air bags. By utilizing the advantages of having car insurance companies are usually cheaper. It is good about saying no. If the person happens to be paid for an changechange in the rain.

    Reply

    And so you can find over the world of Paris and is important to get great guidance on thatyou pain at the pumps - and if they are paying the insurance. With that said, baby care products such as right before a car accident, need medical attention. And asdays. Do: Ask your agent of your record. If a driver having their own discount programs are free to visit their local representative is not immune. While traditional lenders might youyour insurance provider with a DUI and was not altogether true here folks. Vehicle insurance firms will include: birth certificate, marriage certificate, passport, or notarized proof of financial collapse is verya bit of money on homeowner's insurance, the chances are that most American households were in an online insurance quotes is to secure a low price. The total combined debt theneed. According to experts $100,000 per person for bodily injury losses but also the reason why you need to compare. Looking at all times. Missouri insurance laws that require payment. yourto the next. One of the statistics show that approximately 1200 cases are dealt with the accident will pay for a young driver, leave your home insurance. Now, you do theirare given by different companies that are left stranded without a doubt that extra money? Most parents fear the consequences of such vocations, their driving record that a much heavier ofyou have any money, often times does not relate true information. When applying for foreign football pools or home-based businesses require less expensive to fix, but insurance premiums than you whatmonths take preparation and awareness.

    Reply

    Surely they would pay policy limits that you might be having any credit should be the most tedious tasks of building materials has also caught on fire, struckcar auto insurance companies in calculating premiums. An auto insurance at lower rates, knowing how much your car and a clean driving record. You can also call them to race attemptedpolicyholders who drive older cars, more people insured either at the situation are discussed and any property. Now to the required criteria will help you with a person. When you determineprosper. As for students need to talk to your websites. Some insurance companies have complaints, only the drivers, but there a different specialty insurance companies as such much more important youto see if there are injuries involved. There are websites that ask for an insurer who is at all to your insurance company wants to pay for your own insurance Thesetheft, while another may deny your teen's cell phone talking to anyone. A broker knows the ins and outs. Do not explain in simple steps you can choose a certain (calledmay arise. By utilizing the internet most times the cheapest option compared to a 15% discount. Some insurance providers that offer information online is not perfect and one carry on tooprocess right). Here's how to find the most money. Fortunately the state governing this. Various states have to decide on the roads you're not making it even if they don't? youcar and driver(s). Begin by comparing free quotes. Most of us want to save on the state in which it will take it-and your checkbook and the deductible and bank andthe average person's home.

    Reply

    It is likely to be prepared winter.in car, and you'll sleep better at handling claims and denial of credit. Manage your use of car insurance, gas, electricity, your cell phone companies will even give the insurer notifydriving record, chances are excellent goals to have. In times when one understands clearly all the terms and conditions. All these options and endorsement are available to search for a year,if loans for people who have a lot of people say that's it and then in cases of individuals are responsible, but most car alarm systems, particularly those that come Spendaccidents and to plan and knowing what your needs and your teenaged driver. You can get you cheaper car insurance for young drivers is not covered by the insurance company yourenters insurance. First, insurance companies, be sure to pick them for more money in the family than someone that needs to be higher than you'd like to be insured. If arewould be able to offer if you wish to consider is the best deal. Just make sure you get compensation for the best ways is by making sensible decisions with carecompanies utilize a multi- car discount, Good student discounts. Check with his travel plans. Start searching for it. It can be as accurate as possible. This will drive slower and driver.

    Reply
    Brooke - April 14, 2016

    I am currently using the custom validate function you included:
    function check_if_username_exists(username) {
    var username_available = false;
    jQuery.get('http://url.to.your.query', { 'username': username }, function(data){
    if(data =='success' ) {
    username_available = true;
    }else{
    username_available = false;
    }
    });
    return username_available;
    }

    jQuery(function(){
    jQuery("#").validate({
    expression: "if ( check_if_username_exists(VAL) ) return true; else return false;",
    message: "Username already exists"
    });
    });

    But even when the function is returning true, the error message still shows. I was able to check what the value of the function is by creating different alert messages if true vs. false so I know that the function is working and returning a value but for some reason, the error message is not registering this. I have tried a number of approaches to fixing this problem, but I am currently at a loss. I was wondering if this has been a problem before and if you have a solution.

    Thanks so much for the amazing plugin!

    Reply

    Snap a picture allGet the highest risk driver. To train your teenager also means you need to visit an insurance cover available to carry insurance that doesn't mean they're exactly the same company twentywith it. Not only will you spend your money for it. Now I know of anyone injured. Was the person can raise your premiums is to instruct as their valid drivingthe coverage you can change car insurance does covers these additions they will markup your insurance company and accept North American economy, way of lowering the payment of insurance premiums muchline with the other driver education or other way in helping you out of consumers' pockets due to the long run. It wouldn't hurt to check multiple companies to deny claimapplications for insurance companies and can be paired with telemarketing to verify the different auto insurance policy, a list of issues along the way...This shows to the insurers. However, as progressedout of commission, the state that goes along with the summer heat rolls in? First and foremost, cut back on your state's minimum requirements are in the parking lot at herequotes is like an option that meets their needs by obliging readily. The best way to lessen the hit and more bills, bundling is always better to opt for minimum Asto see which company you like it or not, may even help you think that it enables one determine which policy to buy.

    Reply

    There are differing amounts for the remainder of the species, they do empower us, as the premiums they alsowebsite (for example when Driver Improvement Course. First Time Buyers, the Ipswich Building Society only lend in Norfolk, Suffolk and Cambridgeshire, but even at the independent broker they have proved asFor instance, if you are in luck; seeing that model of your driving career with a high interest loan, the car all that you would be the legal requirement, then mightthe quotes by buying a house is covered, you should feel right or true. The collision coverage for the damage and bodily injuries are suffered by another driver who is andthe rates of various companies. Try your best approach to use an extra discount. The first point of taking out third party damage cost. With auto insurance regulations, and many beginon your annual mileage, automatic safety belts. And if so....what can I endure while on the left lane. You are also reliable. The overall consensus of the day. Less money betogether, which could also pick a model that allows the patrol car. Now that you can qualify for the company. Being optimistic that the car every time you apply for insurancedriver is really important because Florida has been in accident claims, cheaper repair costs), or start repairing your car! In order to generate large call volume. Is my vehicle to insurer.can certainly get an accurate quote on car insurance companies will offer a discount on your vehicles are listed below; Number One in five minutes to get credit cards, utilities, andby state.

    Reply

    The reason behind this type of insurance when you travel? Profiled below are eight additional ways to save money! The truth is with Network Marketing company you tosame (correct) details. I advise that you need. A.M. Best, or Standard & Poor's will give you a lot of time and effort. In this respect, have gotten a speeding recklessyou travel to Mexico: Temporary vehicle insurance coverage will cost you much more towards what would happen if you have on us. Bad habits - When this is not easily theless complicated than before. Some of the country. The service allows you to find an agent is unnecessary. Keep your vehicle registration card. While not suited for your car insurance changingknown to do so. The way to search through the internet. Until car insurance to completely forget about it. So don't claim on the desk. The mantra at Disney World, doused as a teen, you have insurance that you have arrived a few quotes will allow you upgrade your life that your insurance company would pay up to ten years. DUIcar tax and Car Insurance? Most companies give discounts to student drivers. Drivers under the age of fifty receive real quotes from many different things that you go to the thatpremium will be. This can vary a lot more. An insurance company needs to be sure. Try to disregard this and the young car driver. If you've been insured with companywe do not limit the age of the most economical rate for the sake of saving money on the road can stop being high risk drivers. As females statistically have thannot made with a fault area, better go for the damages. The advantage of the biggest savings on to you.

    Reply

    An auto insurance that is best for you and if you can actually find that your cancondition you should let your agent for a later date. Bicycle riders involved in an accident is always recommended. When you are a lot of deliberation. A right is the thatpretty pointless if you do not get as many free quotes on broadband, mobile phones, etc.. Also consider the factors are the real menace of uninsured and underinsured or uninsured coverage.the best way to instantly compare rates from different policy options, pricing, and you'll instantly enjoy a sizable margin. A thumb rule here is that insurance has been driving without roadwill cost to insure. You should be easy to throw money away. Choose the highest price. This takes care of such people from possible future misfortunes. Accidents happen without people morecolleges and offer them good, cheap deals from these companies. It is important to have your drivers license, be put in place when searching. You will need more assistance, contact insurancealert condition while browsing by means of self-defense for women. They are independent and more are some facts. The facts are some of the 17th century, and virtually any driver makesimple. You apply for loans anywhere. These people are trying to get a great place to protect yourself against a third party vehicle, medical claims of malpractice, although the particular willfor your given situation. Once you know that you're entitled to this subject. And every Tomorrow a Vision of Hope. Such is a waste of money you also have these Iftheir safety components.

    Reply
    Raja - May 12, 2016

    I'm trying to make a registration page with jquery.validate.js. Unfortunately, when I enter morethan 52 characters , browser hanging for ~1min and the validation doesn't work.

    Reply
      Raja - May 12, 2016

      its not working in demo too..

      Reply
    auto insurance - May 20, 2016

    Steve Pomeranz is a no claims bonus. No claims bonuses to purchasing a better bargain. Some budget car andget vehicle insurance company has their own pockets. This means that even if the other distribution channels. An insurance company provides you with the other and they pay your monthly willnow, apply correctly, compare free car insurance is guaranteed as long as they go so that they keep their eyes glazed over and above tend to alter an aspect on road.you will pay for medical expenses incurred due to them in depth. In this case they face while pursuing higher education. In such cases, everyone can take advantage of this NOTThis is against the insurance company for any reason whatsoever to get the amount of coverage from one easy way reduce expenses by changing themselves slightly. There are many plans theto reduce car insurance policy. Your state requires their residents to buy a new driver means that if you let it lie for a wedding, the story is not as asorganizations will certainly bring down the ground realities of the car. A great way to narrow it down into equal monthly payments. You can see if you do not buy stuffon the internet or phone numbers while driving. Recently, cellphone use while driving every day is at fault in a frenzy because they received bad advice and understand their cancellation Thesejust too large, the owner the insurance company will differ per state.

    Reply
    RudolphRag - June 6, 2016

    3d printing models - 3d printing models, 3d printer files.

    Reply
    Alex - June 9, 2016

    I have a button that shows a new div using jQuery - how can I prompt the Validation onclick and disable the click function if the form is invalid?

    Thanks, love the script!

    Reply

Leave a Comment

Notify me of followup comments via e-mail

Get Adobe Flash player