jquery-validation-engine

jquery-validation missing dist folder

梦想的初衷 提交于 2019-12-03 11:59:15
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 like it needs to be built but I cannot see how to build from within visual studio 2015. A right click on the grunt file does not show the task runner explorer. If I use a command window and try to use "npm install" and "grunt" in the wwwroot/lib/jquery-validation/ folder I get an error after the "jscs:all" task: Running "jscs:all" (jscs) task Fatal

Validation Error Message won't hide when valid

£可爱£侵袭症+ 提交于 2019-12-01 18:14:27
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 valid email address the error message still doesnt go away. How can I fix my validation error message so that it hides when the input field is valid? I'm fairly new to jQuery Validation, and I can't seem to figure this problem out. Any help on this matter would be greatly appreciated. Thanks! UPDATED FIDDLE 2: http://jsfiddle.net/psbq8vkj/9/ JQUERY: $(

ASP MVC jquery validation in bootsrap tabs causes an undesired postback

回眸只為那壹抹淺笑 提交于 2019-11-29 08:58:21
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 no errors (while having errors in other tabs) a post back occurs and i get the correct validation messages. Its a minor issue, but post back is not desired in this situation, because full client side validation must be completed before sending request to the server. How can i correct this behavior? Below is a copy of my form HTML: @model RBZPOSMVC.ViewModel.CreateEditItem .... @using (Html