1/*=========================================================================================� File Name: login.js� Description: Login Form validation js� ----------------------------------------------------------------------------------------� Project Name: OptionC Login� Version: 1.0 �==========================================================================================*/���$(function () {� 'use strict';� var checkbox = $('.form-check-input');� checkbox.each(function () { 2 var $this = $(this); 3 //$this.wrap('<div class="position-relative"></div>'); 4 $this 5 .change(function () { 6 $(this).valid(); 7 }); 8 });� $("#frmLogin").validate({�� ignore: ".ignore",� errorPlacement: function (error, element) { 9 // Check if the element is inside the anchor tag 10 if (element.parent().is("a.termsandcondition")) { 11 // Place the error message after the anchor tag 12 error.insertAfter(element.parent()); 13 } else { 14 // For other elements, use the default placement (after the input element) 15 error.insertAfter(element); 16 } 17 },� rules: {� txtEmail: {� required: true,� email: true,� normalizer: function (value) {� return $.trim(value);� }��� },� txtPassword: {� required: true,� //minlength: 5� },� chkAuthorizedUser: {� required: true, 18 },� hiddenRecaptcha: {� required: function () {� if (grecaptcha.getResponse() == '') {� return true;� } else {� return false;� $("#rcaptcha").next().find(".error").hide();� }� }� }� },�� messages: {� password: {� minlength: "Your password must be at least 5 characters long"� },� txtEmail: { 19 email:'' 20 //email: 'An email username is needed. Click <a id="btnSetupEmailUsername" onClick="ShowEmailUsernameSetup()">here</a> if you need to set up your email username.' 21 //email: 'An email username is needed.Click <a href="https://pilotsignin.allnewoptionc.com/setupemail/?Signinlater=Tm8=">here</a> if you need to set up your email usermame.' 22 }� },�� submitHandler: function (form) {� form.submit();� }� });�});�
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.