We help IT Professionals succeed at work.

Bootstrap Validation Help

ITsolutionWizard
on
166 Views
Last Modified: 2019-03-13
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_form_steps
I am using above form wizard and everything is working fine except the validation. the current code will only validate if the <input> field is empty.
My question is: how to use jquery built-in validation in this case so I do not have to write codes to check one by one? Because in my case, I have over 20+ <input> for each steps and I have at least 5 steps to go.

thanks
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Hi,

You can use this plugin which should cover all your needs
https://jqueryvalidation.org/

Documentation and demo : https://jqueryvalidation.org/documentation/

Don't forget to validate server side too :)

Author

Commented:
Thank you. it is a good one but that does not work to me in my case.
I use https://getbootstrap.com/  for all of the UI and it is better we stick with the current UI i use. It is such pain to remove all of the codes already built and use jqueryvalidation.org.
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019

Commented:
I don't understand your response - what has bootstrap got to do with jQuery Validation?

It is such pain to remove all of the codes already built and use jqueryvalidation.org.
What code will you have to remove from jQuery validation???
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.