Disable onblur validation

2 posts, 0 answers
  1. prashant kolekar
    prashant kolekar avatar
    1 posts
    Member since:
    Jun 2012

    Posted 14 Jun 2012 Link to this post

    I want to disable onblur validation for kendo  ui textbox  control .How can i achieve it. As per suggestion from kendo forum . I have tried using
    $("#div").kendoValidator({ validateOnBlur: false }) 
    but it is not working . 
  2. Chuck
    Chuck avatar
    35 posts
    Member since:
    Oct 2008

    Posted 15 Apr 2013 Link to this post

    This appears to have been fixed.

    <div id="emaildiv" style="border:1px solid black">
    <p>Validate that an email address was entered for the email input.<br>
        validateOnBlur option is set to false</p>
       <p><label for="email">Email:</label>
        <input type="email" id="email" name="email" required placeholder="your email" validationmessage="Your email is required" /> </p>
       <button type="submit" id="submitemail" value="submitemail">submit email</button>
    </div> (function(){ var emailvalidator = $("#emaildiv").kendoValidator({ validateOnBlur: false }) .data("kendoValidator");
      $("#submitemail").on("click", function(){
        alert("no worries");
      });  }(); You can see a working sample here. My blog post is here.
Back to Top