[ad_1]
https://i.ytimg.com/vi/t2oXpi61E4A/hqdefault.jpg
Validating a Form with JavaScript, Applying Validation States & Styling in Bootstrap:
In this video we are going to add Validation to our Form using JavaScript & JQuery and Apply Validation States styles to Input Fields in the form to state the user which field has an error which has to be corrected. We will see how this can be implemented with JQuery and JavaScript by validating a form preventing the form from being submitted with error.
Reference Links:
Bootstrap: http://getbootstrap.com
Follow us:
Twitter: https://twitter.com/WebDevMentors
Facebook: https://www.facebook.com/webdevmentors
Original source
23 responses to “Validating Form with JavaScript, Applying Validation States & Styling in Bootstrap”
sir you sound horrible
you sound like squidward btw thanks this is very helpful though
did you record this with a potato?
The sound is bad
hello sir, how could i put a validation on the update form.?
You did something wrong in this video. Try these steps, please – Step 1. fill the first field. Step 2 – Click Submit (now error indicates for second field) Step 3 – Fill the second field. Step 4 – Empty the first field. Step 5 – Submit again. It shows the second field also as empty.
Can you please tell what you have done after opening script tag
Bro I am new to JavaScript please make a video for this addition In this video
Thank you sir 🙂
shit, don't work
Hi i tried this example ,$("#" + id).val() == null || $("#"+ id).val == "" in this way its not working but i tried with individual is working fine means like this var email = $("#email").val();email == null || email == "" when i pass the id from function it's not working
please help me any one ,Which version jquery plugin you are used.
Thanks man, if it wasn't for your videos, my path to learn bootstrap would have been much more troubled.
Can I use this code, for passwords.
smoothly describe no of things. Osum tuturial Thanx.
your videos are really useful thank you very much 🙂
i am using bootstarp in asp.net but when i use RequiredFieldValidation then error occur
:-WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
wonderful tutorial dude but i am wondering why this method is not working on my bootstrap form, even i tried just alert event but nothing happen. i am very beginner on js
hi this is nice video great…………………
how do i validate my php form to check if a username already exist in mysql database using bootstrap
can do valiation using glypicons i m getting errors
Good vedios helping to beginner
I am new to jquery
Please let me know
Why you use input…button ..not submit..
We are using return false in validation
So we use submit also ..if return false it not postback to server
you should have spoken in your own accent man ..you just ruin it
Awesome channel!
But it can be better with a clean voice…
whatever you are amazing!