<?php
/**
 * Intranet
 *
 * PHP version 5
 *
 * @category  PHP
 * @package   Rocket_form
 * @author    Softdiscover <info@softdiscover.com>
 * @copyright 2015 Softdiscover
 * @license   http://www.php.net/license/3_01.txt  PHP License 3.01
 * @link      https://softdiscover.com/zigaform/wordpress-cost-estimator
 */
if ( ! defined('BASEPATH')) {
    exit('No direct script access allowed');
}
ob_start();
$nameField =  apply_filters('uifm_ms_render_field_front', "uiform_fields[".$id."]", $id, $type);
?>
 <div class="rockfm-input4-wrap">
    <input class="rockfm-input4-spinner"
           name="<?php echo $nameField; ?>"
            
           data-uifm-tabnum="<?php echo $tab_num; ?>"
                data-rockfm-min="<?php echo floatval($input4['set_min']); ?>" 
                data-rockfm-max="<?php echo floatval($input4['set_max']); ?>"
                data-rockfm-step="<?php echo floatval($input4['set_step']); ?>"
                data-rockfm-value="<?php echo floatval($input4['set_default']); ?>"
                data-rockfm-decimal="<?php echo floatval($input4['set_decimal']); ?>"
            type="text"
            >
</div>
<?php
if ( isset($price['lbl_show_st']) && intval($price['lbl_show_st']) === 1) {
    $tmp_price_label = urldecode($price['lbl_show_format']);
    if ( ! empty($tmp_price_label)) {
        ?>
            <span class="rockfm-inp4-opt-price-lbl"><?php echo $tmp_price_label; ?></span>
            <?php
    }
}
?>
<?php
$cntACmp = ob_get_contents();
$cntACmp = Uiform_Form_Helper::sanitize_output($cntACmp);
ob_end_clean();

echo $cntACmp;
?>
