<link href="ValidationEngine.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .auto-style1 { width: 611px; } </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.ucb.org.br/Scripts/formValidator/js/languages/jquery.validationEngine-en.js" charset="utf-8"></script> <script type="text/javascript" src="http://cdn.ucb.org.br/Scripts/formValidator/js/jquery.validationEngine.js" charset="utf-8"></script> <script type="text/javascript"> $(function () { $("#form1").validationEngine('attach', { promptPosition: "topRight" }); }); function DateFormat(field, rules, i, options) { var regex = /^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/; if (!regex.test(field.val())) { return "Please enter date in dd/MM/yyyy format." } } </script> Below line is where i called the above JQUERY <input type="text" class="validate[required]" runat="server" name="pgUsername" id="txtusername" >
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)