Call us on 0330 123 1030
  • Stage 1

    Enter your details

  • Stage 2

    Choose your cover

  • Stage 3

    Provide contact details

  • Stage 4

    Finalise & review your cover

Would you like to add your partner or children? (optional)

Please tick this box to confirm you have read our Privacy Policy and know where to go to get more information
Please tick this box if you would like to be contacted about our services and future offers. We will not pass your details onto any third parties.
 
 
/////////////////////////////////////////////////////////////////////////////// REWARDS ANIMATED BANNER // Wait for window load, add animation class to rewards rolling banner $(window).load(function() { $(".rolling-banner").addClass("animating-rolling-banner");; }); /////////////////////////////////////////////////////////////////////////////// CHECKBOXES //Confirm questions with checkbox, set to find out on page start, in case of validation errors, AND on change, need BOTH //on page start $('label input[type="checkbox"]').each(function(){ if ($(this).is(':checked')) { $(this).parent('label').addClass('ticked').removeClass('unticked'); } else { $(this).parent('label').addClass('unticked').removeClass('ticked'); } }); //on change $('body').on("click", 'label input[type="checkbox"]', function(){ if ($(this).is(':checked')) { $(this).parent('label').addClass('ticked', 300).removeClass('unticked', 300); } else { $(this).parent('label').addClass('unticked', 300).removeClass('ticked', 300); } }); //Quick quote display, quote display, automatic update of cover selection, check when ajax is run successfully to mark tickboxes $(document).ajaxSuccess(function() { $('label input[type="checkbox"]').each(function(){ if ($(this).is(':checked')) { $(this).parent('label').addClass('ticked').removeClass('unticked'); } else { $(this).parent('label').addClass('unticked').removeClass('ticked'); } }); //Any checkbox inside a label, add class if disabled $('label input[type="checkbox"][disabled="disabled"]').each(function(){ $(this).parent('label').addClass('disabled'); }); }); //Any checkbox inside a label, add class if disabled $('label input[type="checkbox"][disabled="disabled"]').each(function(){ $(this).parent('label').addClass('disabled'); }); /////////////////////////////////////////////////////////////////////////////// RADIO BUTTONS setTimeout(function(){ //Yes-no question radio buttons, toggles class depending on selected/unselected, with easing, style .radio-inline, .radio-inline.selected, .radio-inline input, on change and page load $('.radio-inline input[type="radio"]').change(function () { if ($(this).prop('checked')) { $(this).parent('label').siblings().removeClass('selected',300).addClass('unselected', 300); $(this).parent('label').addClass('selected',300).removeClass('unselected', 300); } }).change(); //Yes-no question radio buttons, toggles class depending on selected/unselected, with easing, style .radio-inline, .radio-inline.selected, .radio-inline input, for elements created after page load $(document).on('click', '.radio-inline input[type="radio"]', function() { if ($(this).prop('checked')) { $(this).parent('label').siblings().removeClass('selected',300).addClass('unselected', 300); $(this).parent('label').addClass('selected',300).removeClass('unselected', 300); } }); //Choice question radio buttons, and YN parent, toggles class depending on selected/unselected, with easing, style .radio label, .radio.selected label, .radio label input, on change and page load $('.instanda-question-choice.radio input[type="radio"], .instanda-question-parent-yes-no .radio input[type="radio"]').change(function () { if ($(this).prop('checked')) { $(this).closest('.radio').siblings().removeClass('selected', 300).addClass('unselected', 300); $(this).closest('.radio').addClass('selected', 300).removeClass('unselected', 300); } }).change(); //Advanced choice questions with radio buttons, on page load $(function(){ $('.instanda-question-radio-hierarchy').each( function( index, value ) { var $div = $(value).closest('.instanda-question-radio-hierarchy-parent'); if ($(value).prop('checked')) { $div.addClass('selected',300); } else { $div.addClass('unselected',300); } }); }); //Choice question radio buttons, and YN parent, toggles class depending on selected/unselected, with easing, style .radio label, .radio.selected label, .radio label input, for elements created after page load $(document).on('click', '.radio input[type="radio"]', function() { if ($(this).prop('checked')) { $(this).closest('.radio').siblings().removeClass('selected', 300).addClass('unselected', 300); $(this).closest('.radio').addClass('selected', 300).removeClass('unselected', 300); } }); //Any radio inside a label, add class if disabled $('.radio label input[type="radio"][disabled="disabled"]').each(function(){ $(this).closest('.radio').addClass('disabled'); }); $('.radio-inline input[type="radio"][disabled="disabled"]').each(function(){ $(this).closest('.radio-inline').addClass('disabled'); }); }, 0); /////////////////////////////////////////////////////////////////////////////// RADIO BUTTONS, on quote display pages //Add class to selected cover if cover group has radio buttons, on ajax success $(document).ajaxSuccess(function() { $('label input[type="radio"]').each(function(){ if ($(this).prop('checked')) { $(this).closest('label').addClass('selected-cover', 300); } }); $('label input[type="radio"][disabled="disabled"]').each(function(){ $(this).closest('label').addClass('disabled'); }); }); $('label input[type="radio"]').each(function(){ if ($(this).prop('checked')) { $(this).closest('label').addClass('selected-cover', 300); } }) $('label input[type="radio"][disabled="disabled"]').each(function(){ $(this).closest('label').addClass('disabled'); }); /////////////////////////////////////////////////////////////////////////////// POSTQUOTE, PAYMENT OPTIONS //Hides whichever payment type that the user will select if ( Instanda.Variables.TriggerPaymentOption == 10) { //if monthly is selected $("[value='CreditCard']").parent().hide(); $("[value='LumpSumDirectDebit']").parent().hide(); } else if ( Instanda.Variables.TriggerPaymentOption == 1) { //if annual is selected $("[value='MonthlyDirectDebit']").parent().hide(); }