Create Tel

This commit is contained in:
Llewellyn 2024-08-23 17:24:31 +00:00
parent b4693141c8
commit 3936400d3c

View File

@ -0,0 +1,125 @@
{
"name": "Tel",
"short_description": "provides an input field for a telephone number.",
"description": "The tel field type is an alias for a text field. Telephone numbers can be validated using the tel rule and filtered using the tel input filter.",
"properties": {
"properties0": {
"name": "type",
"example": "text",
"mandatory": "1",
"description": "(mandatory) must be text."
},
"properties1": {
"name": "name",
"example": "phone",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Phone",
"adjustable": "1",
"mandatory": "1",
"translatable": "1",
"description": "(mandatory) (translatable) is the descriptive title of the field."
},
"properties3": {
"name": "size",
"example": "10",
"adjustable": "1",
"description": "(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered."
},
"properties4": {
"name": "maxlength",
"example": "50",
"adjustable": "1",
"description": "(optional) limits the number of characters that may be entered."
},
"properties5": {
"name": "default",
"example": "",
"adjustable": "1",
"description": "(optional) (not translatable) is the default value."
},
"properties6": {
"name": "description",
"example": "Enter phone number",
"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."
},
"properties7": {
"name": "class",
"example": "text_area",
"adjustable": "1",
"description": "(optional) is a CSS class name for the HTML form field. If omitted this will default to 'text_area'."
},
"properties8": {
"name": "readonly",
"example": "false",
"adjustable": "1",
"description": "(optional) The field cannot be changed and will automatically inherit the default value"
},
"properties9": {
"name": "disabled",
"example": "false",
"adjustable": "1",
"description": "(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit"
},
"properties10": {
"name": "required",
"example": "false",
"adjustable": "1",
"description": "(optional) The field must be filled before submitting the form."
},
"properties11": {
"name": "filter",
"example": "tel",
"adjustable": "1",
"description": "(optional) allow the system to save certain html tags or raw data."
},
"properties12": {
"name": "validated",
"example": "tel",
"adjustable": "1",
"description": "(optional) allow the system to validated the input data."
},
"properties13": {
"name": "message",
"example": "Error! Please add phone number here.",
"adjustable": "1",
"translatable": "1",
"description": "(optional) The error message that will be displayed instead of the default message."
},
"properties14": {
"name": "hint",
"example": "Your Phone Number",
"adjustable": "1",
"translatable": "1",
"description": "(optional) The placeholder to display inside the text box."
},
"properties15": {
"name": "showon",
"example": "",
"adjustable": "1",
"description": "(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+ https:\/\/joomla.stackexchange.com\/a\/17682\/2166"
},
"properties16": {
"name": "onchange",
"example": "",
"adjustable": "1",
"description": "(optional) HTML equivalent attribute (javascript use)"
}
},
"has_defaults": "0",
"datatype": "",
"datalenght": "",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "1c6c519c-3bc8-4914-8940-3e9591b0bce6"
}