Deck Installation Estimator

//Deck Installation Estimator

Deck Installation Estimator

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”center” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

  • #field_1_1,#field_1_2,#field_1_3,#field_1_11,#field_1_12{
    margin-left:30% !important;
    }
    #gform_submit_button_1{
    margin-left: 30% !important;
    height: 45px;
    width: 140px;
    }
  • jQuery(document).ready(function ($) {

    $(“.gform_button”).hide();
    $(“#field_1_11”).hide();
    $(“#field_1_12”).hide();
    $(“#field_1_15”).hide();
    $(“.msg”).hide();
    $(“.display_result”).hide();
    var cc_qty = 0;
    var cc_price = 0.0;
    var g_cost = 0.0;
    var l_multiplier = 0.0;
    var counter = 0;
    $(“.quote-btn”).on(“click”, function () {

    if (counter < 3) {
    $(".msg").hide();
    $(".display_result").hide();
    if ($("input[name=input_2]").val() === "")
    {

    $(".msg").text("Please input square feet of pool surface ");
    $(".msg").show();
    return false;
    }

    var sqft = parseInt($("input[name=input_2]").val());

    l_multiplier = parseFloat($("input[name=input_16]").val());
    cc_price = parseFloat($("input[name=input_9]").val());
    g_cost = parseFloat($("input[name=input_17]").val());
    cc_qty = Math.ceil(sqft / 200);

    var material_cost = cc_qty * (cc_price + g_cost);
    var labour_cost = material_cost * l_multiplier;
    var total_cost = material_cost + labour_cost;
    var cost_per_sqft = total_cost / sqft;
    $(".display_result").show();
    $(".material_cost").text("$" + material_cost.toFixed(2));
    $(".labour_cost").text("$" + labour_cost.toFixed(2));
    $(".total_cost").text("$" + total_cost.toFixed(2));
    $(".per_sqft").text("$" + cost_per_sqft.toFixed(2));

    counter += 1;

    } else
    {
    $("#field_1_3").hide();
    $("#field_1_14").hide();

    $("#field_1_11").show();
    $("#field_1_12").show();
    $("#field_1_15").show();

    $(".gform_button").show();

    }

    });

    });

  • Get Quote
  • Thanks for contacting us. Please fill in the fields below, we will be in touch shortly.

  • Please Enter Your Email Address
  • Leave your number if you would like a call
  • Here’s Your Quote!

    Cool Pool Deck Estimate :

    Total Materials:   

    Estimated Labor:   

    Estimated Installed Cost:   

    That’s only per square foot!

This iframe contains the logic required to handle AJAX powered Gravity Forms.
wholesale mlb jerseys jQuery(document).ready(function($){gformInitSpinner( 1, ‘https://coolpooldecks.com/wp-content/plugins/gravityforms/images/spinner.gif’ );jQuery(‘#gform_ajax_frame_1’).load( function(){var contents = jQuery(this).contents().find(‘*’).html();var is_postback = contents.indexOf(‘GF_AJAX_POSTBACK’) >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find(‘#gform_wrapper_1’);var is_confirmation = jQuery(this).contents().find(‘#gform_confirmation_wrapper_1’).length > 0;var is_redirect = contents.indexOf(‘gformRedirect(){‘) >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;if(is_form){jQuery(‘#gform_wrapper_1’).html(form_content.html());if(form_content.hasClass(‘gform_validation_error’)){jQuery(‘#gform_wrapper_1’).addClass(‘gform_validation_error’);} else {jQuery(‘#gform_wrapper_1’).removeClass(‘gform_validation_error’);}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery(‘#gform_wrapper_1’).offset().top); }, 50 );if(window[‘gformInitDatepicker’]) {gformInitDatepicker();}if(window[‘gformInitPriceFields’]) {gformInitPriceFields();}var current_page = jQuery(‘#gform_source_page_number_1’).val();gformInitSpinner( 1, ‘https://coolpooldecks.com/wp-content/plugins/gravityforms/images/spinner.gif’ );jQuery(document).trigger(‘gform_page_loaded’, [1, current_page]);window[‘gf_submitting_1’] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find(‘#gforms_confirmation_message_1’).html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery(‘#gform_wrapper_1’).replaceWith(” + confirmation_content + ”);jQuery(document).scrollTop(jQuery(‘#gforms_confirmation_message_1’).offset().top);jQuery(document).trigger(‘gform_confirmation_loaded’, [1]);window[‘gf_submitting_1’] = false;}, 50);}else{jQuery(‘#gform_1’).append(contents);if(window[‘gformRedirect’]) {gformRedirect();}}jQuery(document).trigger(‘gform_post_render’, [1, current_page]);} );} ); if(typeof gf_global == ‘undefined’) var gf_global = {“gf_currency_config”:{“name”:”U.S. Dollar”,”symbol_left”:”$”,”symbol_right”:””,”symbol_padding”:””,”thousand_separator”:”,”,”decimal_separator”:”.”,”decimals”:2},”base_url”:”https:\/\/coolpooldecks.com\/wp-content\/plugins\/gravityforms”,”number_formats”:[],”spinnerUrl”:”https:\/\/coolpooldecks.com\/wp-content\/plugins\/gravityforms\/images\/spinner.gif”};jQuery(document).bind(‘gform_post_render’, function(event, formId, currentPage){if(formId == 1) {} } );jQuery(document).bind(‘gform_post_conditional_logic’, function(event, formId, fields, isInit){} ); jQuery(document).ready(function(){jQuery(document).trigger(‘gform_post_render’, [1, 1]) } ); [/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

By | 2017-05-04T08:08:47+00:00 January 28th, 2017|Uncategorized|Comments Off on Deck Installation Estimator

About the Author:

Cool Bundles are on Sale!

Don't wait! Offer ends soon.