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.
The viewer will learn the basics of jQuery, including how to invoke it on a web page.
Reference your jQuery libraries: (CODE)
Include your new external js/jQuery file: (CODE)
Write your first lines of code to setup your site for jQuery.: (CODE)