The Range an enriched field allows to select ranging value like from 1 to 10.

Field Parameters

Name Type Default Description
type string ‘range’ Value identifies the field types.
id string Identifies unique ID for the field. It must be different from other existing field IDs.
title string Displays the field label.
desc string Describe the field option in details, appears underneath the field control.
required array Acts like boolean operator and provides the parent, comparison operation, and value which decides the field visibility.
value number Display default string in the text input.
option array Display default string in the text input.

Example Declaration:

    'id'      => 'type',
    'title'   => esc_html__( 'Range', 'ultimate-page-builder' ),
    'desc'  => wp_kses_post( __( 'Description', 'ultimate-page-builder' )),
    'type'    => 'range',
    'value'   => 'range',
    'options' => array(
        'prefix' => '', // String
        'suffix' => '', // String
        'min' => '', // Minimum Number 
        'max' => '', // Maximum Number
        'step' => '', // Number
        'size' => '' // Number,

results matching ""

    No results matching ""