Create Text

This commit is contained in:
Llewellyn 2024-08-23 17:24:34 +00:00
parent 56a0526f72
commit 8d6f47cd58

View File

@ -0,0 +1,137 @@
{
"name": "Text",
"short_description": "provides a text box for data entry.",
"description": "The text form field type provides a text box for data entry. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.",
"properties": {
"properties0": {
"name": "type",
"example": "text",
"mandatory": "1",
"description": "(mandatory) must be text."
},
"properties1": {
"name": "name",
"example": "mytextvalue",
"adjustable": "1",
"mandatory": "1",
"description": "(mandatory) is the unique name of the field."
},
"properties2": {
"name": "label",
"example": "Enter some text",
"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": "Some text",
"adjustable": "1",
"description": "(optional) (not translatable) is the default value."
},
"properties6": {
"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."
},
"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": "STRING",
"adjustable": "1",
"description": "(optional) allow the system to save certain html tags or raw data."
},
"properties12": {
"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."
},
"properties13": {
"name": "field",
"example": "",
"adjustable": "1",
"description": "(optional) used in validation of \"equals\" to link the field to match."
},
"properties14": {
"name": "message",
"example": "Error! Please add some text here.",
"adjustable": "1",
"translatable": "1",
"description": "(optional) The error message that will be displayed instead of the default message."
},
"properties15": {
"name": "hint",
"example": "Your Name Here",
"adjustable": "1",
"translatable": "1",
"description": "(optional) The placeholder to display inside the text box."
},
"properties16": {
"name": "autocomplete",
"example": "on",
"adjustable": "1",
"description": "(optional) The autocomplete state for the form field. If 'off' element will not be automatically completed by browser."
},
"properties17": {
"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"
},
"properties18": {
"name": "onchange",
"example": "",
"adjustable": "1",
"description": "(optional) HTML equivalent attribute (javascript use)"
}
},
"has_defaults": "1",
"datatype": "VARCHAR",
"datalenght": "255",
"datalenght_other": "",
"datadefault": "",
"datadefault_other": "",
"indexes": "0",
"null_switch": "NOT NULL",
"store": "0",
"guid": "201327fe-3067-4316-a155-3fe2a52e05c0"
}