Questions tagged as 'jquery-validate'

1
answer

Jquery Validate - Check at least 1 checkbox true

I use bootstrap toogle for this example: link I have 4 checkboxes, one of them should be true. How to do this with jquery validate? Follow the code below: <label for="checkbox[]" generated="true"></label> <label class...
asked by 17.01.2017 / 20:17
2
answers

jquery validate not valid within modal bootstrap

I'm having trouble making jquery validate work within the bootstrap modal using a dynamic link (I do not know if this is the reason). When it is out it works perfectly more inside the same not. below the codes: document.php <scri...
asked by 25.11.2016 / 12:26
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
1
answer

Check alphanumeric characters in field [closed]

I'm having a validation problem in a text field. I need the field not to allow ALPHANUMERIC characters , this validation must be done with jquery .     
asked by 17.10.2014 / 02:55
4
answers

How to change the color of only one element in a form-group with several others?

Hello What happens to me is the following: I'm using the Bootstrap Validator to validate the fields on my form. However, when you rotate the page, the fields are getting as follows. Note that the "Code" field is disabled. Only the "Social...
asked by 20.06.2014 / 17:01
0
answers

I am trying to validate the date but it always becomes invalid

$.validator.addMethod("dateBR", function (value, element) { if (value.length != 10) return false; // verificando data var data = value; var dia = data.substr(0, 2); var barra1 = data.substr(2, 1); var mes = data.subst...
asked by 22.09.2018 / 18:07
0
answers

Use class instead of id in Jquery Validate

I have this Jquery Validate script: /****** Validate ******/ $().ready(function() { $("#form_inserir_imagem").validate({ rules: { id_cat: "required", image_file: "required", nome_servico: "required",...
asked by 02.05.2018 / 00:56
1
answer

Required modal Bootstrap

I have a modal, where I need to do the field validations, however in the modal I can not put the required=required , because it does not open the modal. How can I proceed, in order for the function to function as required? Here are t...
asked by 16.04.2018 / 14:49
0
answers

Validate date time with jquery validate

The title of the post already says everything, I have one with the mask dd / mm / yyyy hh: mm and would like to validate if the user typed correctly. I have already tried creating it using addMethod and I did not succeed. Does anyone have a cake...
asked by 20.02.2018 / 21:50
0
answers

How to create a loading state in the middle of two Login steps

Hello, I would like to know the following: I'm making a Login screen, where it is divided into two steps. The first user types the email, and in the second step, the user types his password and proceeds further. But I want an intermediate ste...
asked by 20.01.2018 / 12:17