I\'ve been looking around for a solution to this, but can\'t seem to find any examples that work for me. Here\'s what I\'ve got so far:
$(\"#register-form\")
If the
$(".required input")
is matching more than one element, then
$(".required input").val() == ''
probably won't do what you're expecting.