If a specific checkbox is checked, I want to run another section of jQuery code if it is.
Here's my jsFiddle:
What I'm looking to do: If Credit Card method is checked, use the jQuery validator JS to validate the CC fields. If On Account method is checked, use the jQuery validator JS to validate only the On Account field.
However, if one of them isn't checked, I do not want jQuery validator JS to validate those fields.
Thanks!