Is it possible to easily setup a conditional rule with jQuery validate,  Simply put i'm trying add some logic which says, if checkbox 'A' is ticked - then field 'A' must be completed, if checkbox 'B' completed then fields...
I want to validate phone numbers like (123) 456-7890 or 1234567890  How should be the 'matches' condition be written in the following code?  form.validate({      rules: {         phoneNumber: {matches:"[0-9]+",minlength:10, maxlength:...
I have a preexisting form  which I'm trying to add jquery validation to containing :  <form id="form" method="POST" action="/title/">     {% csrf_token %} <input type="hidden" name="id" value="...
I have a form and I want to add new elements as you can see in this fiddle I used append $('#cvfields').append(campos); to add this elements but the jquery validation plugin started to giving me problems. I found this in some answers related...
In the jQuery Validate docs it shows an example of using a remote validation call to pass additional values to server side validation script/resource:     http://docs.jquery.com/Plugins/Validation/Methods/remote#code   Here's the sample code:  $(...
I have a form that I am trying to validate that has two fields:  <div class="entryForm">     <div class="formField">         <label for="fieldEmailAddress">Email address:</label>         <input type=...
Sorry if I did not explain my problem clearly.    I have a form with multiple tables for users inputs.  I use next and back buttons to hide and show different tables in order to guide users.   Now the problem is: How do I use next button to validate...
I am trying to clear all error messages as well error highlighting when user click on the clear form button, below are actual requirements   Validate form using Jquery validation When user click on a field error message should be cleared (per field)...
I am using jQuery validate to validate a form. I have two text boxes on my form and only the first one will add the "This field is required." message. If I remove the "required" class from the first one the second will have the messag...
Can anyone tell me how to write a rule that validates if neither one radio button option nor the (optinal) textfield is chosen/filled by a user? The rule should only give a message if no checkbox option #myradiogroup is chosen AND the textfield #emai...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.