Create Range

This commit is contained in:
Llewellyn 2024-08-23 17:24:18 +00:00
parent a5d8cdf55b
commit ffdb1f8120

View File

@ -0,0 +1,107 @@
{
"name": "Range",
"short_description": "Provides a horizontal scroll bar to specify a value in a range.",
"description": "Provides a horizontal scroll bar to specify a value in a range.",
"properties": {
"properties0": {
"name": "type",
"example": "range",
"mandatory": "1",
"description": "(mandatory) must be range."
},
"properties1": {
"name": "name",
"example": "range",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Range",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "default",
"example": "9",
"adjustable": "1",
"description": "(optional) (not translatable) is the default value."
},
"properties4": {
"name": "description",
"example": "Enter some description",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box."
},
"properties5": {
"name": "message",
"example": "",
"adjustable": "1",
"translatable": "1",
"description": "(optional) (translatable) is text that will be shown as error on validation."
},
"properties6": {
"name": "class",
"example": "",
"adjustable": "1",
"description": "(optional) is a CSS class name for the HTML form field. If omitted this will default to 'text_area'."
},
"properties7": {
"name": "min",
"example": "1",
"adjustable": "1",
"description": "(mandatory) this value is the min on the meter."
},
"properties8": {
"name": "max",
"example": "20",
"adjustable": "1",
"description": "(mandatory) this value is the max on meter."
},
"properties9": {
"name": "step",
"example": "1",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached."
},
"properties10": {
"name": "required",
"example": "false",
"adjustable": "1",
"description": "(optional) The field must be filled before submitting the form."
},
"properties11": {
"name": "validate",
"example": "",
"adjustable": "1",
"description": "(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field."
},
"properties12": {
"name": "onchange",
"example": "jQuery('#jform_range').closest('.controls').find('span').remove(); var value = jQuery('#jform_range').val();jQuery('#jform_range').closest('.controls').append(' '+value+'');",
"adjustable": "1",
"description": "(optional) javascript to run when the range is changed"
},
"properties13": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) show this field on the bases of the value in another field. https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
}
},
"has_defaults": "1",
"datatype": "INT",
"datalenght": "11",
"datalenght_other": "",
"datadefault": "0",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "627d3845-7273-4f75-8e63-7b3a319a42c8"
}