The range field creates a HTML5 range field where you can select a number by dragging a control.
This field is very similar to the number field. It just uses a different control to select a number instead of entering it.
Besides the common settings, this field has the following specific settings:
||Set the increments at which a numeric value can be set. Default is
||Minimum value. Optional.|
||Maximum value. Optional.|
array( 'name' => 'Range', 'id' => 'range', 'type' => 'range', 'min' => 0, 'max' => 60, 'step' => 5, ),
This field simply saves a single selected value in the database.
If the field is cloneable, then the value is stored as a serialized array in a single row in the database.
To get the field value, use the following code:
$value = rwmb_meta( $field_id ); echo $value;
Read more about rwmb_meta().