Home › Forums › JavaScript › Validation › Re: Validation
December 8, 2011 at 8:39 am
#92194
Brightonmike
Member
Oh crikey, I completely missed what you meant. I can just add this to the submit function:
if($('.step').eq(current - 1).find('.required').val() == '' ){
alert('no.');
return false;
}
Oh man.