Okay
  Public Ticket #1394577
not returning result
Open

Comments

  • David started the conversation

    Here is the code I'm using, and I think the pjs fits the models provided, but it's not returning an actual result.  Please advise.  Thanks, Dave

    [vc_row type="in_container" full_screen_row_position="middle" scene_position="center" text_color="dark" text_align="left" overlay_strength="0.3" shape_divider_position="bottom"][vc_column column_padding="no-extra-padding" column_padding_position="all" background_color_opacity="1" background_hover_color_opacity="1" column_shadow="none" column_border_radius="none" width="1/1" tablet_text_alignment="default" phone_text_alignment="default" column_border_width="none" column_border_style="solid"][bt_cost_calculator][bt_cc_group eval="var people = $1; var units = $2;

    var result = people * units;

    return result; "][bt_cc_slider name="people" value_min="1" value_max="200" value_step="1" value_unit="people" initial_value="20"][bt_cc_slider name="units" value_min="1" value_max="10000" value_step="100" value_unit="units" initial_value="1000"][/bt_cc_group][/bt_cost_calculator][/vc_column][/vc_row]

  •  378
    Support Agent replied

    Hi David,

    Unfortunately, Unit value has to be numerical, and not textual input.

    Once you set the unit value as a number for both sliders, it will return result.

    Let us know if you need additional help.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!