Questions tagged [jquery-validation-engine]

jQuery validation engine is a Javascript plugin aimed at the validation of form fields in the browser (IE 6-8, Chrome, Firefox, Safari, Opera 10).

jQuery Validation Engine is a jQuery plugin related to client-side HTML form-field validation and validation-error-notification.The plugin provides visually appealing prompts that grab user attention on the subject matter.

It supports various value-types (Text, Email, Phone, URL, ...), multiple languages and browsers (IE 6-8, Chrome, Firefox, Safari, Opera 10).

Validations range from email, phone, and URL, to more complex calls such as ajax processing or custom javascript functions. Bundled with many locales, the error prompts can be translated into the language of your choice.

It is available under MIT license.

Useful links

344 questions
26
votes
2 answers

mvc4 url validation

I'm writing this question here after trying to find an answer for two days. basically here's what's going on. I have a property in the viewmodel as follows [Required(ErrorMessage = "Required Field")] [Url(ErrorMessage="Please enter a valid…
Amila
  • 3,711
  • 3
  • 26
  • 42
19
votes
5 answers

Validating bootstrap datepicker from bootstrap formhelpers

Is it possible to use the JQuery Validation to validate the Bootstrap Datepicker? As it doesn't expose the input field, I can't get it to validate. Example: https://jsfiddle.net/Khrys/2rcr9j5s/ $.validator.setDefaults({ submitHandler: function()…
Khrys
  • 2,670
  • 9
  • 49
  • 82
16
votes
4 answers

Uncaught TypeError: Object [object Object] has no method 'live'

Getting this error: Uncaught TypeError: Object [object Object] has no method 'live' From this JavaScript and jQuery code: init: function(options) { var form = this; if (!form.data('jqv') || form.data('jqv') == null ) { options =…
Francesca
  • 26,842
  • 28
  • 90
  • 153
15
votes
6 answers

jQuery ValidationEngine: How to validate that at least one of a set of fields is not empty?

In our project we are using ValidationEngine, and we don't have the ability to replace it with another plug-in. Our form has ten inputs and some of them are optional, but at least one of the optional fields must be included. So, how do you validate…
Dmitriy Sosunov
  • 1,075
  • 3
  • 10
  • 25
10
votes
2 answers

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 dist/ folder. The jquery-validation package looks…
user1282345
  • 251
  • 3
  • 6
10
votes
3 answers

How to fix positioning error with jQuery Validation Engine and Twitter Bootstrap modals

I am using Twitter Bootstrap 2.1.0 on my site, I am also using the jQuery Validation Engine 2.6.2 plugin, which these work well together. Until you try to use the validation engine in a modal: Notice how we get a horizontal scroll bar, and the…
Hailwood
  • 89,623
  • 107
  • 270
  • 423
8
votes
3 answers

How to check if jQuery Validation Engine is loaded?

I'm trying to use this validator: http://posabsolute.github.com/jQuery-Validation-Engine/ I load it just when a page has a form. But I have several pages with 2 form, both are loading with ajax. So, I need to check for each form before load: is the…
Denis Monn
  • 363
  • 4
  • 15
6
votes
5 answers

how to customize jquery validation engine message error

I'm trying to make a customized error message with the validationEngine plugin Link of the plugin By default when you use something like: And you don't type a thing in…
Luis
  • 5,786
  • 8
  • 43
  • 62
6
votes
2 answers

jquery Validation Engine funcCall not working if only rule

I have an input field that I am trying to add custom validation to (required depending on another field). If I put required AND funcCall() I can see that two errors are returned. If I only put the funcCall nothing is returned. I know it's getting in…
sunzyflower
  • 195
  • 3
  • 13
6
votes
1 answer

jQuery validation engine custom javascript validation

I am trying to validate the availability of a subdomain with the jQuery Validate Engine through a custom function. Validation appears to happen correctly but the alertText is not displayed if .ajax request returns 200. I have added…
mrbnetworks
  • 2,547
  • 3
  • 17
  • 10
5
votes
2 answers

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. However, now my new problem is once I type a…
ChosenJuan
  • 891
  • 3
  • 26
  • 56
5
votes
1 answer

custom function in JQuery validation engine with arguments

I want to write a new validation rule for JQuery Validation Engine. It seems all you have to do is to write a function like this: "myNewRule": "func": function(field, rules, i, options){ //new validation function …
mattosmat
  • 610
  • 1
  • 11
  • 27
5
votes
3 answers

jQuery form validation engine not working properly on equals

I just downloaded the jQuery plugin form validation engine. Everything worked good so far until I check if the passwords match. If both the password field and the confirm password field is left blank, the error message "Fields don't match" doesn't…
Vince
  • 2,596
  • 11
  • 43
  • 76
5
votes
2 answers

Regex unexpected token

When I add this regex into validation engine I get a javascript error: "unexpected token", it seems that the regex is wrong because it is underline with red, why? "time1":{ "regex": ^([0-9]|0[0-9]|1[0-3]|2[0-3]):[0-5][0-9]$, "alertText":…
kosnkov
  • 5,609
  • 13
  • 66
  • 107
5
votes
6 answers

Validation Engine One by one error display

I prefer Jquery ValidationEngine over Bassistance validation. my question is We do not use one input per line, some of them are in the same line like First Name: [] Last Name: [] When errors popup, the error messages overlap and they look so…
Asif Ashraf
  • 665
  • 1
  • 7
  • 15
1
2 3
22 23