Most voted "jquery-validate" questions
jQuery plugin for form validation.
Learn more…86 questions
Sort by count of
-
1
votes2
answers458
viewsRequire input text filling with jQuery Validator
I am making a registration form, and I have three fields to enter values. I want to make it mandatory to fill in at least one of the three input text. Does anyone know how to do this with jQuery…
-
1
votes1
answer227
viewsLeave input wrapped with dashes when using Jquery Validate
I am using the plugin Jquey Validation and I am trying to leave the error mark in the input as in the image I am passing attached, I tried some alternatives and the result was not as expected, what…
-
1
votes0
answers211
viewsHow to check customer validation on in an ASP.NET Core MVC 2.0 application to recognize EN standard
I’m having trouble setting up client-side validation gift my app. I’d like customer validation by using jquery.validate.unobstrusive, accept numbers and dates located in. I have already made this…
-
1
votes1
answer2137
viewsUncaught Typeerror: $(...). validate is not a Function
I am using jquery validate and it was working normally, now it is returning me the following error, I already checked the references, I changed, but still with the same problem: Uncaught Typeerror:…
-
1
votes2
answers1101
viewsDisplay modal after form validation (fields filled)
I have a form with several fields that are mandatory. By clicking submit, validation is performed using jquery validation and being ok, send to the controller (ASP.Net MVC). I need that after the…
-
1
votes1
answer1837
viewsValidate dates with Jquery validate for dd/mm/yyyy
I want to validate the dates with Jquery Validate, but error, I researched a lot more the solutions found did not solve my problem. my JS: // incluir todos elementos do form na pagina…
-
1
votes1
answer139
viewsBug when validating a word limitation field using Jquery validate
I have a form where the user needs to inform the full name of it, so I used the plugin jQuery Validate to make these validations, and also added the additional methods, where there is a function…
-
1
votes2
answers162
viewsHow to insert an element only once with jQuery event
I am creating a validation in jQuery and when the field loses its focus it checks if it is empty and inserts the error message, more every time this event happens it inserts the same message. How to…
-
1
votes1
answer137
viewsJquery validation using array in the Names input?
I am making the following form for the registration of data in the database, to enter in the database I am using array us input names form. <form method="post" id="validar"…
-
1
votes2
answers664
viewsCheck if CPF already exists with Jquery Validate
I am validating some fields of an application form that was made in Ruby on Rails. In this application has some query endpoint, where it returns a json, if the CPF exists it returns this data: {…
-
1
votes0
answers46
viewsWhen closing a bootstrap modal, the unobtrusive Jquery validation triggers unnecessarily
By clicking the Close button of the Modal window, the validation is firing and it does not close. Then, if I give another click, then yes, the modal window is closed. I confess that I am bothered by…
-
0
votes1
answer164
viewsDate Condition and Validation
I have 3 fields: contract number, start date and end date. How do I validate two fields simultaneously? That is, the start date and end date must be filled in. If they are not, I have to send only…
-
0
votes1
answer623
viewsCheck alphanumeric characters in field
I have a validation problem in a text field. I need the field does not allow ALPHANUMERIC characters, this validation has to be done obligatorily with jquery.…
-
0
votes2
answers5542
viewsHow to validate a zip code using jQuery.validate
I am not able to validate a ZIP code typed by the user. I added the following code within the jquery.validete.js jQuery.validator.addMethod("cep", function(value, element) { return…
-
0
votes1
answer803
viewsUse jquery.validate to validate image dimensions
I’d like to know how to use the jquery validate to validate the dimensions of the image being sent. In my case, the image has to be 400px high and wide.…
-
0
votes4
answers1375
viewsHow to change the color of only one element in a form-group with several others?
Hello! What happens to me is this: I am using Bootstrap Validator to validate the fields in my form. However, when I rotate the page, the fields are getting as follows. Note that the "Code" field is…
jquery html css twitter-bootstrap jquery-validateasked 10 years, 5 months ago Victor Alencar Santos 1 -
0
votes3
answers419
viewsHide mandatory and non-compulsory field
I have a form. In this form I have two radiobutton with two options. 1) Questao 1 (Obrigatorio) 1 = Sim 2 = Nao ______________________ 2) Questao 2(Obrigatorio) 1 = Vivo 2 = Morto If this question 1…
-
0
votes1
answer345
viewsAsp.Net Mvc Remote Validation
So I’m trying to implement RemoteAttribute, but by clicking the button submit, is not giving the post on my page. My Controller public class TesteRemoteController : Controller { // GET: TesteRemote…
-
0
votes1
answer59
viewsJquery.Validate
Talk personal, all right!? I am breaking my head with the following, I am using the plugin jquery validate, working all right, but in my form I am using a button that I do not want to validate in…
-
0
votes2
answers1165
viewsjquery validate does not validate within modal bootstrap
I’m having trouble making jquery validate work within the bootstrap modal using a dynamic link (I don’t know if this is the reason). When it is outside it works perfectly more within the same no.…
-
0
votes1
answer1542
viewsJquery Validate - Mark at least 1 checkbox true
I use toogle bootstrap from this example: http://www.bootstraptoggle.com/ I have 4 checkbox, one of them must have true. How to do this with jquery validate ? Follows code: <label…
-
0
votes2
answers349
viewsCheckbox Switch - One of them must be marked as true or 1
Example: I have 6 different checkboxes. All of them have name="checkbox[]", one of them must be marked with 1 or true. Here’s an example in jsfiddle: https://jsfiddle.net/vh8d9un8/14/ The "SUBMIT"…
-
0
votes2
answers585
viewsConflict: Jquery Validation + Bootstrap 3 Tooltip
I have a conflict between Jquery Validation and Bootstrap Tooltip, so when I send the empty form and Validation goes into action, and Tooltip appears with Focus in input, each time the input loses…
-
0
votes0
answers257
viewsjQuery validate does not work in modal
I have a modal with a form. I used this plugin to create the modal: https://github.com/samdark/the-modal I also use jquery validate. It works on all forms of my site. However in the form that is…
-
0
votes1
answer943
viewsDynamic field validation with Jquery.validate()
I’m having difficulty validating the fields of a dynamic table using the plugin jquery.validate() where the input are sequential. JS $("#addLinha").on("click", function () { // ADD QTD DE LINHAS…
-
0
votes1
answer411
viewsEnable jQuery Validate (plugin) with the ajax response
I always found interesting this plugin, as it leaves the form simple with subtle messages to the visitor. I decided to implement and falls into the following dilemma: How do I get back my AJAX to…
-
0
votes1
answer351
viewsBrowse existing classes in a form and remove
I am creating a form with validation using the plugin jQuery Validation, the form already has a structure ready, and so I needed, to make sure that the successful error classes were added together…
-
0
votes1
answer358
viewssweetalert inputs
good afternoon, I have a swal with several inputs in the html tag and need to apply a validation that does not let pass empty fields already tried everything jquery validate etc and nothing. goes…
-
0
votes0
answers37
viewsJquery Validate renaming complex (square brackets)
I am validating some fields of an application form that was made in Ruby on Rails. In this application has some query endpoint, where it returns a json, if CNPJ exists it returns this data: {…
-
0
votes0
answers52
viewsFilter records from a table through any data entry field
Good morning, what I am trying to do is the following, I have two fields with inputs, 1 for Seller and another for Customer. Below these fields I have my table that loads the data that comes from…
-
0
votes2
answers524
viewsValidate Form Jquery
I have a form, that the button that makes his Submit, stays outside the tag <form>. then I send it via Script. The problem is he’s not validating the Form, before sending. I always only used…
-
0
votes0
answers25
viewscnpj mask does not work
I have a screen that is possible to consult Cpf and cnpj.. the mask for Cpf works, but pro cnpj I get an error saying that the function is not defined and as js is far from being my strong... I’m…
-
-1
votes1
answer242
viewsBlock a button after displaying jquery validate message?
I would like help with the jquery validate, I am doing a js exercise and would like to increment and block the send button when displaying the validation message. In theory I already finished the…
-
-1
votes1
answer663
viewsRequired modal Bootstrap
I have a modal, where I need to validate the fields, but in the modal I can’t put the required=required, because it does not open the modal. How can I proceed, so that the function works as…
-
-1
votes2
answers63
viewsForms in Modal Bootstrap
I’m with a system that all forms (Views) are in Modal Bootstrap. The View Index loads all Partialview. Below the Index: By clicking the Register button, for example, a Javascript function accesses…
-
-2
votes1
answer165
viewsPassword validation with javascript
I am trying to validate a form, which it from Submit in the form only if the password field is filled with at least 1 UPPERCASE LETTER, 1 NUMBER, 1 MINUSCULE LETTER. I did this with regex Pattern…