I am using the jQuery inline form validation plugin below. But I need to be able to dynamically change what fields are required based on various selections on a form.
A basic example would be I have a dropdown and the person has to select their payment method. How do I make the credit card fields validate if a credit card was selected as payment type but not if for example a field has a zero in it (i.e. no payment due) or if they selected check or invoice me from the drop down.
What is a Lightbox?
A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions.
There are lots of Lightbox effects for jQuery.
Problem is they are a…
The viewer will learn the basics of jQuery including how to code hide show and toggles.
Reference your jQuery libraries:
Include your new external js/jQuery file:
Write your first lines of code to setup your site for jQuery…