Questions tagged as 'jquery.validate'

2
answers

Validation of two fields with jQuery.validate and DataAnnotations

Good afternoon guys, Next, I need to validate if one of two fields is filled, I tried to create an Attribute function with ValidationAttribute but it did not validate correctly, I think jQuery.validate does not recognize it. Follow the cod...
asked by 14.09.2016 / 19:15
2
answers

How to make more than one field type="radio" without another losing the value?

I'm making a form and it will have two fields for selecting items, ie they are type="radio", but the following problem occurs when it selects an alternative to the first question, but when it selects the second to the first uncheck, I will send...
asked by 10.08.2016 / 16:14
0
answers

JQuery validate, some CPF numbers are not being accepted

I'm using JQuery validate + a "complement" code for CPF validation, but some CPF's are not being accepted, I've tested the numbers on other systems and it worked, but my system is not rolling. Follow the validation code. function isCnpj(cnpj...
asked by 04.04.2016 / 16:44
1
answer

How to handle jquery validate error messages?

Here's the case: I have two inputs, the two are validated with the validate, one I need to show the error msg and change the border color, the other just need to change the color of the boar, without error msg . Is it possible to do that? For ev...
asked by 12.08.2016 / 02:01
1
answer

Force at least one field to be mandatory

I have 4 CheckBox in my form HTML , I'm working on the validations only with Jquery.Validate , is there a way I can set at least 1 of these checBox's on? Any property of validate ? Or just creating a role in the race? I f...
asked by 03.09.2014 / 20:03
0
answers

Why does not the error message appear?

I am training a php code for user registration, where the required fields are validated but only the return of the login field that uses the remote command: it does not print the result, here are the codes I am using: <head> &...
asked by 24.09.2015 / 05:55
1
answer

Using Jquery Validate in conjunction with Form Wizard

I'm putting together a step-by-step form. I did a test a Validate in the email field and, the verification of the email worked, however, the Validate will not go to the next step if the field is blank. Follow what I've done so far. <...
asked by 04.12.2017 / 03:04
1
answer

Submit form with jQuery.Validation

I want to create a method similar to the required of jQuery.Validate just to check whether the field was filled or not. Because the form is very large and can not be filled at once then the user will save and then edit it again so with this...
asked by 27.11.2014 / 22:47
0
answers

Select2.js with jquery.validate?

How can I use Jquery.validate to validate select field with the select2 plugin?     
asked by 09.07.2015 / 19:29
1
answer

Use jquery.validate to validate image dimensions

I'd like to know how to use jquery validate to validate the dimensions of the image being uploaded. In my case, the image has to be 400px in height and width.     
asked by 25.07.2016 / 23:04