342 questions
0
votes
0
answers
104
views
jQuery - Appending 10k Rows to a Table after AJAX call
I have a web page that will receive 10k-row CSV data on which I have to call API to get more details after a successful ajax call I have to append all these 10k rows (5 columns - 4 input fields with ...
-1
votes
2
answers
2k
views
How to validate filename in jQuery-Validation-Engine?
How to validate a filename in jQuery-Validation-Engine with no special characters allowed except for underscore (_)?
I tried these regex: /^[a-zA-Z\d._]*$/ and /^[a-zA-Z0-9_]+$/ but no luck. The regex ...
0
votes
1
answer
71
views
jQuery validation error message won't hide for remote rule
I am trying to print an error message when email is taken Using Jqueryvalidation but when I enter email which is not taken, the error message won't go away.
please help!
html
<form id="valid" ...
0
votes
2
answers
625
views
Jquery email validation is not working in MVC
I'm using this code in mvc for email validation but after we typed @ of any text in textbox for example : abc@ after @ validation is not wokring and form is submit without validation error.
if (!...
1
vote
1
answer
1k
views
How to perform a minCheckBox validation on jQuery Validate Engine?
In a form with three checkboxes I need to validate at least one of them has been checked. The company I work for is using jQuery Validation Engine. I am testing with the latest version/release.
As ...
1
vote
1
answer
670
views
How to overwrite a default message for a default validator?
One of the legacy applications where I work is using Inline Form Validation Engine 2.6.2 aka jQuery Validation Engine. I need to set a custom message for a default validator. Here is all I have tried ...
0
votes
0
answers
70
views
How do I prevent <input type="submit"> from submitting my form until a criteria has been met?
I have a form that the user fills out, then they press a "Review Fields" button. This button validates the fields by using jQuery Validation (https://jqueryvalidation.org/documentation/) and opens a ...
2
votes
1
answer
2k
views
JQuery Validation Form inside a Bootstrap 4 Modal with Tabs won't submit
I'm having an issue with JQuery Validation inside a modal with tabs.
On the Sign in Tab, when I click on the Login button the validation errors pop up as intended:
PROBLEM 1
But on the New Account ...
0
votes
0
answers
838
views
how to validate unique email id using jquery validation in edit form in rails
I am working on ruby on rails and using jquery validation in my application.
In Employee Master new form email id uniqueness remote is working fine but in edit form email id uniqueness same remote i ...
0
votes
2
answers
446
views
Using datepicker with the validation engine
I have a form which uses validation engine, but the input element that uses jquery datepicker wont display the error message or even validate as a require item. Is there a way to make both work? If ...
0
votes
1
answer
221
views
Jquery validation. Validate array of arrays
I am using jquery validation to validate a form. It works fine when it comes to validate simple variables or even and array variable but here is the thing: I need to validate an array of arrays.
My ...
0
votes
1
answer
118
views
How to highlight valid element when save button is clicked
I am using jQuery validation to validate my form fields. I've two fields, named "comment" & "account name". The comment field has a validation method called required which is set to false whereas ...
0
votes
0
answers
365
views
valid element is not highlighted when user clicks the submit button
I am currently using jQuery validation plugin to validate my form fields. I've set a rule where the username field is not required, the account name field is required and the comments textarea field ...
1
vote
1
answer
179
views
How to validate form and then issue a post http request jQuery
I am trying to validate my form. For example, when a user did not enter any value or white spaces, the jQuery validation plugin will detect the error and display an error message called, "please fill ...
0
votes
0
answers
245
views
How to add jquery form validation in dynamic generated html?
I have created a dynamic html block. When you click on add more button generate three field name, from-date, to-date and i apple the validation on this field but it's not working.
Dynamic post fields ...
1
vote
2
answers
2k
views
jquery validation rules parameter from variable
i have current_stock variable which is updated by ajax request everytime i clicked Edit button. after the ajax request success, it will popup a modal like this
im using jQuery validation to validate ...
2
votes
1
answer
903
views
Jquery Validaton using remote and Laravel 5.2 is not working
I am trying to validate is email id exist or not, using remote in jquery validation,
but its showing Object Not Found and error code is 404 in console.
i think weather it is not taking url as route as ...
1
vote
1
answer
239
views
Avoid uppercase input with jQuery Validation Engine
Some users a writing their messages in uppercase only, and I want to avoid that with JQuery Validation Engine.
I have tried many many regex without any success.
Here is the idea for a custom rule to ...
1
vote
1
answer
480
views
jQuery validator's addMethod does not support event object in Firefox
I've added custom validation on input type text and I am doing custom validation by checking event type:
$.validator.addMethod("customVal", function (value, element, options) {
if (event.type == "...
0
votes
1
answer
79
views
How to fix bug errorPlacement in jquery validation plugin
I'm using plugin jQuery validation to handle invalid fields. So, I set defaults validator like this:
$.validator.setDefaults({
errorElement: 'span',
errorClass: 'help-block text-danger',
...
1
vote
0
answers
164
views
How to configure ajax + jQuery Validation Engine + php
Please help me configure form. It is necessary that the message is not sent if the inputs are not full. And if everything correctly popped up the message of successful sending.
mail.php
<?php
$...
0
votes
1
answer
1k
views
How to validate "input type file" using jQuery validation engine?
I am using jQuery validation engine to validate a form in my Laravel's project, it works perfect for all of the fields except input type file.
Here is what I have tried:
Form
<form id="series-...
0
votes
1
answer
26
views
JQuery Validation - Remove .checked class when is not 'success'
can you help me understand how to remove .checked class added with:
success: function(label) {
label.addClass("checked");
}
when the input is not 'success
2
votes
1
answer
509
views
How to override jQueryValidation submit handler
How do you override the submit handler of a jQueryvalidation object with out overwriting all of the validation settings?
form1.validate({
focusInvalid: false, // do not focus the last invalid ...
0
votes
2
answers
341
views
Ajax, JQuery Validation, and MVC
I have an issue I can't seem to solve. First some context that may be relevant.
I am building a MVC-like (I say "like" because I'm still learning how MVC works) php framework for my software. I want ...
0
votes
1
answer
2k
views
jquery validation engine in angular 2
How to use jquery validation engine in angular 2? I included jquery validation files in index.html file:
<script src="http://localhost/2017/js2/jquery.validationEngine.js" type="text/javascript">...
1
vote
1
answer
721
views
Why CSS not working not working all of a sudden and what is \u200b?
I am working on an MVC application and all of a sudden the jQuery validation stopped showing the red rectangle and other styles related to errors on controls. I spent about 2 hours and for the life of ...
1
vote
0
answers
76
views
Parameter is returning null when send through ajax call for validating if PAN Number already exist or not Using validation-engine
I'm working on an asp.net MVC application. As per our requirements we need to check whether inserted data already exists or not at runtime. And for implementing that facility I've used validation-...
0
votes
0
answers
797
views
override html.validationmessageFor error message
is there a way for me to override the message from Html.ValidationMessageFor.
So when it is activated, it will display the new message ?
I have tried to add this to my model:
[Required(ErrorMessage =...
-3
votes
1
answer
446
views
jQuery-Validation-Engine - Errors in div
I want to improve my forms with jQuery Validation Engine. For more accessibility, I want to put the error in a tag below the input tag.
<input type="text" ... >
<p class="error">Error ...
1
vote
0
answers
55
views
jquery validation fails on add rule with remote
I am getting the following error:
This is my jQuery script:
$('.email_afiliado').each(function(key, index) {
$('#'+index.id).rules("add",
{
required: true,
email: ...
1
vote
1
answer
671
views
jQuery remote validation on create vs update
I have a Laravel 5.4 backend with validation rules all set up and working fine.
I also implemented the jQuery Validation plugin for client side validation for a better experience and used it ...
0
votes
0
answers
341
views
Kendo dropdown list not working with jquery validation engine
i can't check validation for a kendo dropdownlist using jquery validation engine. if i click the submit button, which checking the validation inside the form's control. All fields validation is ok, ...
2
votes
1
answer
3k
views
Validation Engine Returns False When Valid
Validation Engine is returning false when no errors were detected and true when validation is unsuccessful, which is the opposite of what I would expect. The weird part is that the tooltips are ...
-1
votes
1
answer
1k
views
Highlights and active/redirect to bootstrap tab if error raised by jQuery validation plugin
I have a form with multiple tabs using bootstrap tabs.
Html Tabs structure like:-
<div class="tabs-container">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="...
0
votes
4
answers
402
views
SyntaxError-Unexpected End of Input
I'm a newbie. Just coded a simple loan approval application using Javascript with Jquery and Jquery Validation plugins. I'm getting a SyntaxError.
- I've matched the beginning and end parens, curly ...
2
votes
1
answer
2k
views
JQuery space validation
I am using Jquery custom validation for no space.
jQuery.validator.addMethod("noSpace", function(value, element) {
return value.indexOf(" ") < 0 ;
});
And its working fine.
But it also ...
0
votes
0
answers
689
views
Regular expression to validate comma separated email addresses
I am supposed to validate comma separated email addresses and avoid invalid patterns like
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
email@...
0
votes
2
answers
1k
views
Error while using jquery validation engine
I am trying to debug an old application and I created a separate html to debug jquery validation engine behavior.
I am getting this error:
jquery.validationEngine.js:28 Uncaught TypeError: $(...).on ...
1
vote
1
answer
4k
views
validationEngine('validate') not a function
I have a simple form I want to know if the form is at a valid state or not.
This project is using jQuery Validation Engine
I am using the same version 2.6.2
According to the docs it supports a ...
0
votes
1
answer
363
views
To use of custom rules in jQuery Validation Engine?
I use jQuery Validation Engine for my form validation here is link for demo :
https://github.com/posabsolute/jQuery-Validation-Engine
I have one checkbox and four textboxes in ASP.NET, I want to ...
1
vote
1
answer
1k
views
How to apply jQuery validation engine with chosen.js?
I tried running the code from the author to make chosen.js work with jquery validation engine
Here is the authors code
I used the same code to test, but it is not working
This is my code
jQuery(...
1
vote
1
answer
443
views
Password Regex Issue
I need a regex to validate a password input by the user through JS in an online registration form. The criteria for the password is the following:
has to be longer than 8 characters
has to include ...
1
vote
1
answer
471
views
How to specify custom invalid condition in jquery validation engine?
I have two select boxes each with some values
I want to validate for condition that, if value Value 1 is greater than value in Value 2 then the error prompt should show and the form should NOT submit....
0
votes
1
answer
262
views
HTML form not submitting when ID tag is used
I have a working form. However, in order to do some JQuery stuff (hide and show a div), I need to add an id tag to the form.
When I add the id, the jQuery is working as expected, but my page stops ...
10
votes
2
answers
3k
views
jquery-validation missing dist folder
I am trying to add jquery-validation to a project in visual studio 2015. When I add "jquery-validation" to bower.json I see that the jquery-validation folder is added to wwwroot/lib/ but there is no ...
1
vote
1
answer
1k
views
Validate form before displaying selected bootstrap tab
I have 4 steps to perform and validate with each bootstrap tab.
I need to validate the required fields in the first step and when the fields are valid and I clicked the "Next" button I can go to the ...
5
votes
2
answers
9k
views
Validation Error Message won't hide when valid
UPDATE 2: I figured out that the title of the input was for some reason being displayed as an error message, I used ignoreTitle: true to make sure he title was not being displayed as an error message....
0
votes
1
answer
2k
views
ASP MVC jquery validation in bootsrap tabs causes an undesired postback
I have a form with 3 bootstrap tabs in it. Client Validation works correctly when the tab where the validation error occurs is open and submit button is clicked. However, when i switch to a tab with ...
0
votes
0
answers
46
views
Custom Errors in Validation Engine
I have 2 text boxes for entering money range
they should have:
txtFromAnnualIncome minimum = 0 maximum = 99999999998
txtToAnnualIncome minimum = 1 maximum = 99999999999
I want to check if ...