jaymascarenas
11/28/2018 - 4:51 PM

Reverse Two Questions Based on Param


        if (getParameterByName('ltv') == 1) {

            var propValueElement = $('#msform-refinance #property-value-refinance');
            var propBalanceElement = $('#msform-refinance #property-balance-refinance');
            var propStepElement = $('#msform-refinance #property-step-refinance');

            propValueElement.find('.question-label').text('Question 5 of 12');
            propBalanceElement.find('.question-label').text('Question 3 of 12');

            propValueElement.insertAfter(propStepElement);
            propBalanceElement.insertBefore(propStepElement);

            reverseLTVSliders();
        } else {
            dbaSliders();
        }