skip to Main Content

How to validate array of array inputs Jquery?

How do we validate array of array input boxes using jquery validation plugin? Below is html code. <form id="transport-form"> <div class="form-group> <label> Room1</label> <input type="text name="child[0]" value="2"> <input type="text" name="age[0][]"> <input type="text" name="age[0][]"> </div> <div class="form-group> <label> Room2</label> <input type="text…

VIEW QUESTION

JQuery Validation of Form

I am having a lot of trouble trying to modify the errorClass and validClass with Jquery validation. I assume all I need to do is add the .validate function and set the parameters. Whilst the validation does fire and the…

VIEW QUESTION

Php versions – Problem with remote method of jQuery plugin Validation

I am gonna to test plugin Validation especially method "remote". I made test example that consists from HTML file with following code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/jquery.validate.min.js"></script> <script> $(function(){ $('#myForm').validate({ rules:…

VIEW QUESTION
Back To Top
Search