Progress Steps - addClass to active step

Progress Steps - addClass to active step

Each step represents a new page and form, looking for a more dynamic way to show the step progress as the user hits each page.   

var bsSteps =  $(function() {
           
             $('.bs-form-1).find('.step1').removeClass('disabled');
             $('.bs-form-1').find('.step1').addClass('complete');

             $('.bs-form-2').find('.step2').removeClass('disabled');
             $('.bs-form-2').find('.step2').addClass('complete');

             $('.bs-form-3').find('.step3').removeClass('disabled');
             $('.bs-form-3').find('.step3').addClass('complete');

             $('.bs-form-4').find('.step4').removeClass('disabled');
             $('.bs-form-4').find('.step4').addClass('complete');

             $('.bs-form-5').find('.step5').removeClass('disabled');
             $('.bs-form-5').find('.step5').addClass('complete');

     });