From 2c1903508cff22ba61936cf5b9d36474811daf8a Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sun, 18 Jun 2017 11:47:10 +0100 Subject: [PATCH] added the subform and custom and other fields to the demo --- README.md | 2 +- admin/README.txt | 2 +- admin/helpers/compiler/c_Fields.php | 2 +- admin/sql/install.mysql.utf8.sql | 17 ++++++++++++++++- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 97f8e2104..4c6652af4 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.4.7 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **106046** ++ *Line count*: **106061** + *File count*: **644** + *Folder count*: **115** diff --git a/admin/README.txt b/admin/README.txt index 97f8e2104..4c6652af4 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -111,7 +111,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.4.7 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **106046** ++ *Line count*: **106061** + *File count*: **644** + *Folder count*: **115** diff --git a/admin/helpers/compiler/c_Fields.php b/admin/helpers/compiler/c_Fields.php index 1c931ea23..a6ae7e3af 100644 --- a/admin/helpers/compiler/c_Fields.php +++ b/admin/helpers/compiler/c_Fields.php @@ -1033,7 +1033,7 @@ class Fields extends Structure $fieldSet .= PHP_EOL."\t\t\t"; $fieldSet .= PHP_EOL."\t\t"; } - // set the repeatable field + // set the subform fields (it is a repeatable without the modal) elseif ($typeName === 'subform') { // now add to the field set diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index 970d5097e..e3dc59fe9 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -934,8 +934,12 @@ INSERT INTO `#__componentbuilder_field` (`id`, `add_css_view`, `add_css_views`, INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name`, `properties`, `short_description`, `params`, `published`, `version`, `hits`, `ordering`) VALUES (1, '', 'The calendar form field type provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value. If the field has a saved value this is shown in the text box. Otherwis', 'Calendar', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"readonly\",\"disabled\",\"class\",\"format\",\"filter\",\"size\",\"required\",\"showon\"],\"example\":[\"calendar\",\"date\",\"Select a date\",\"NOW\",\"\",\"\",\"\",\"\",\"%d-%m-%Y\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be calendar.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default date. This must be given in the same format as specified by the format argument. You can put \\\"NOW\\\" to have current time.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the text box.\",\"(optional) is whether the text box is read-only (true or false). If the text box is read-only, the date cannot be changed, but can be selected and copied. No calendar icon will be shown.\",\"(optional) is whether the text box is disabled (true or false). If the text box is disabled, the date cannot be changed, selected or copied.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) is the date format to be used. This is in the format used by PHP to specify date string formats (see below). If no format argument is given, \'%Y-%m-%d\' is assumed (giving dates like \'2008-04-16\').\",\"(optional) is time zone to be used. There are two values; server_utc and user_utc. The first one is server time zone and the later is user time zone as configured in global configuration and user information respectively.\",\"(optional)\",\"(optional) The field must be filled before submitting the form.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value.', '', 1, 3, '', ''), +(2, '', 'The category form field type provides a drop down list of all published categories for a certain extension. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected. If the show_root', 'Category', '{\"name\":[\"type\",\"name\",\"label\",\"extension\",\"scope\",\"required\",\"show_root\",\"default\",\"description\",\"class\",\"published\",\"multiple\",\"showon\"],\"example\":[\"category\",\"mycategory\",\"Select a category\",\"com_content\",\"\",\"true\",\"false\",\"\",\"select one of the following categories\",\"inputbox\",\"true\",\"false\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be category.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the name of the extension for which the categories will be retrieved. For example, to list content categories, use the value \'com_content\'. You can add also target one view, use the value \'com_component.view\'.\",\"(optional) is an alias for extension.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) is whether a choice representing the root category will be shown.\",\"(optional) is the default category ID number.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) (true/false) is whether the drop down will show only published or unpublished categories.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a drop down list of categories for an extension.', '', 1, 3, '', ''), +(3, '', 'The checkbox form field type provides a single checkbox. If the parameter has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Checkbox', '{\"name\":[\"type\",\"name\",\"label\",\"value\",\"default\",\"required\",\"description\",\"class\",\"showon\"],\"example\":[\"checkbox\",\"show_title\",\"Show title\",\"1\",\"\",\"\",\"Show the title of the item\",\"inputbox\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be checkbox\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the value of the parameter if this checkbox is set (usually 1).\",\"(optional) is the default value (usually 0 or 1).\",\"(optional) The field must be filled before submitting the form.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a single checkbox to be checked or unchecked', '', 1, 2, '', ''), (4, '', 'The checkboxes form field type provides a set of checkboxes. Note: unlike most standard form field types, such as textfield or checkbox, this field is not an \"out of the box\" solution. It will create checkboxes for you, and submit their values in form of ', 'Checkboxes', '{\"name\":[\"type\",\"name\",\"label\",\"option\",\"default\",\"description\",\"required\",\"class\",\"showon\"],\"example\":[\"checkboxes\",\"toppings\",\"Select Toppings\",\"anch|Anchovies,chor|Chorizo,on|Onions,mush|Mushrooms\",\"\",\"Select the topping of your choice\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be checkboxs\",\"(mandatory) is the unique name of the parameter.\",\"(optional) (translatable) is the descriptive title of the field.\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides unlimited checkboxes that can be used for multi-select.', '', 1, 2, '', ''), (5, '', 'Provides a color picker. Enter the color as #ff00ff or pick it from the palet.', 'Color', '{\"name\":[\"type\",\"name\",\"default\",\"label\",\"description\",\"required\",\"showon\"],\"example\":[\"color\",\"backgroundcolor\",\"#FFFFFF\",\"Background\",\"Select the background color here.\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be color.\",\"(mandatory) is the unique name of the parameter.\",\"(optional) provides a color when not set.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) tooltip for the form field.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a color picker when clicking the input box.', '', 1, 2, '', ''), +(6, '', 'The list form field type provides a drop down list or a list box of other current component table entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Custom', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"default\",\"required\",\"readonly\",\"disabled\",\"showon\",\"onchange\",\"extends\",\"button\",\"table\",\"component\",\"view\",\"views\",\"value_field\",\"key_field\",\"type_php_1\",\"type_php_2\",\"type_php_3\",\"type_php_4\",\"type_php_5\",\"type_php_6\",\"type_php_7\",\"type_php_8\",\"type_php_9\",\"type_php_10\",\"type_php_11\",\"type_php_12\",\"type_php_13\",\"type_php_14\",\"type_php_15\",\"type_php_16\",\"type_php_17\",\"type_php_18\",\"type_php_19\"],\"example\":[\"subjects\",\"subject\",\"Select a Subject\",\"\",\"list_class\",\"false\",\"0\",\"\",\"\",\"\",\"\",\"\",\"list\",\"true\",\"#__###component###_subject\",\"com_###component###\",\"subject\",\"subjects\",\"name\",\"id\",\"$db = JFactory::getDBO();\",\"$query = $db->getQuery(true);\",\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\",\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\",\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\",\"$query->order(\'a.###TEXT### ASC\');\",\"$db->setQuery((string)$query);\",\"$items = $db->loadObjectList();\",\"$options = array();\",\"if ($items)\",\"{\",\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\",\"\\\\tforeach($items as $item)\",\"\\\\t{\",\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\",\"\\\\t}\",\"}\",\"\",\"return $options;\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) can be anything, just not the same as any other default Joomla field type.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) (not translatable) is the default value.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) show this field on the bases of the value in another field.\",\"(optional) HTML equivalent attribute (javascript use)\",\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\",\"(optional) to add new button next to field in edit view\",\"(mandatory) The table being linked to. \",\"(mandatory) The name of the component where this table is found. Must be com_users\",\"(mandatory) The single view name if the place this field is added.\",\"(mandatory) The list view name if the place this field is added.\",\"(mandatory) The name of the text field in table linked to.\",\"(mandatory) The field from the linked table to save in this table as the unique key.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\",\"The php for the getOptions method.\"]}', 'provides a drop down list of items entries.', '', 1, 5, '', ''), +(7, '', 'The a list of users that can be targeting one or more groups and excluded users that already belongs to an item in a view.', 'CustomUser', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"required\",\"readonly\",\"disabled\",\"default\",\"hint\",\"showon\",\"extends\",\"table\",\"component\",\"view\",\"views\",\"value_field\",\"key_field\",\"type_php_1\",\"type_php_2\",\"type_php_3\",\"type_phpx_1\",\"type_phpx_2\",\"type_phpx_3\",\"type_phpx_4\",\"type_phpx_5\",\"type_phpx_6\",\"type_phpx_7\",\"type_phpx_8\",\"type_phpx_9\",\"type_phpx_10\",\"type_phpx_11\",\"type_phpx_12\",\"type_phpx_13\",\"type_phpx_14\",\"type_phpx_15\",\"type_phpx_16\",\"type_phpx_17\"],\"example\":[\"staffusers\",\"staff\",\"Staff\",\"\",\"\",\"false\",\"\",\"\",\"\",\"\",\"select a user\",\"\",\"user\",\"#__users\",\"com_users\",\"###view###\",\"###views###\",\"name\",\"id\",\"// set the groups array\",\"$groups = JComponentHelper::getParams(\'com_###component###\')->get(\'###type###\');\",\"return $groups;\",\"// To ensure that there is only one record per user\",\"// Get a db connection.\",\"$db = JFactory::getDbo();\",\"// Create a new query object.\",\"$query = $db->getQuery(true);\",\"// Select all records from the #__###component###_###view### table from ###CODE### column\\\".\",\"$query->select($db->quoteName(\'###CODE###\'));\",\"$query->from($db->quoteName(\'#__###component###_###view###\'));\",\"$db->setQuery($query);\",\"$db->execute();\",\"$found = $db->getNumRows();\",\"if ($found)\",\"{\",\"\\\\t// return all users already used\",\"\\\\treturn array_unique($db->loadColumn());\",\"}\",\"return null;\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) can be anything, just not the same as any other default Joomla field type.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"\",\"\",\"(optional) show this field on the bases of the value in another field.\",\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\",\"(mandatory) The table being linked to. Must be #__users\",\"(mandatory) The name of the component where this table is found. Must be com_users\",\"(mandatory) The single view name if the place this field is added.\",\"(mandatory) The list view name if the place this field is added.\",\"(mandatory) The name of the text field in table linked to.\",\"(mandatory) The field from the linked table to save in this table as the unique key.\",\"The php for the getGroups method.\",\"The php for the getGroups method.\",\"The php for the getGroups method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\",\"The php for the getExcluded method.\"]}', 'Provides list of users.', '', 1, 2, '', ''), (8, '', 'The Editor field type provides a WYSIWYG editor.', 'Editor', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"width\",\"height\",\"cols\",\"rows\",\"buttons\",\"hide\",\"editor\",\"filter\",\"required\",\"showon\"],\"example\":[\"editor\",\"mytextblock\",\"Test Field\",\"Some text\",\"\",\"\",\"\",\"\",\"false\",\"\",\"\",\"safehtml\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be editor.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (not translatable) is the default value.\",\"(optional) defines the width (in pixels) of the wysiwyg editor and defaults to 100%.\",\"(optional) defines the height (in pixels) of the wysiwyg editor and defaults to 250px.\",\"(optional) defines the width of the editor (in columns).\",\"(optional) defines the height of the editor (in rows).\",\"(optional) can be an array of plugin buttons to be excluded or set to false. The default editors-xtd are: article, image, pagebreak and readmore.\",\"(optional) array of plugin buttons to be hidden. eg... set buttons=\\\"true\\\" hide=\\\"readmore,pagebreak\\\"\",\"specifies the editor to be used and can include two options (editor=\\\"desired|alternative\\\")\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides an editor area field.', '', 1, 4, '', ''), (9, '', 'The hidden form field type provides a hidden field for saving a field whose value cannot be altered directly by a user in the Administrator (it can be altered in code or by editing the params.ini file). If the parameter has a saved value this is entered i', 'Hidden', '{\"name\":[\"type\",\"name\",\"default\"],\"example\":[\"hidden\",\"mysecretvariable\",\"1\"],\"adjustable\":[\"0\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\"],\"translatable\":[\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be hidden.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) is the data which needs to be collected.\"]}', 'provides a hidden field for saving a form field whose value cannot be altered directly by a user.', '', 1, 1, '', ''), (10, '', 'The integer form field type provides a select box with a range of integer values. 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.', 'Integer', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"class\",\"required\",\"first\",\"last\",\"step\",\"showon\"],\"example\":[\"integer\",\"size\",\"Size\",\"\",\"\",\"text_area\",\"\",\"1\",\"20\",\"5\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be integer.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field must be filled before submitting the form.\",\"(mandatory) this value is the lowest on the list.\",\"(mandatory) this value is the highest on the list.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a drop down list of integers between a minimum and maximum.', '', 1, 2, '', ''), @@ -947,12 +951,23 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name (16, '', 'The password form field type provides a text box for entry of a password. The password characters will be obscured as they are entered. If the field has a saved value this is entered (in obscured form) into the text box. If not, the default value (if any)', 'Password', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"password\",\"mypassword\",\"Enter A Password\",\"10\",\"secret\",\"\",\"text_area\",\"false\",\"false\",\"false\",\"raw\",\"Error! Please add password here.\",\"Your Password Here\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be password.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(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.\",\"(optional) is the default password.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) show this field on the bases of the value in another field.\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text box for entry of a password. The password characters will be obscured as they are entered.', '', 1, 4, '', ''), (17, '', 'The radio form field type provides radio buttons to select different options. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Radio', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"option\",\"default\",\"required\",\"showon\",\"onchange\"],\"example\":[\"radio\",\"myradiovalue\",\"Select an option\",\"\",\"btn-group btn-group-yesno\",\"1|Yes,0|No\",\"0\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be radio.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) New in Joomla 3, if set to class=\\\"btn-group btn-group-yesno\\\" will show the nice coloured buttons\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default radio button item value.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides radio buttons to select different options.', '', 1, 4, '', ''), (18, '', 'Provides a horizontal scroll bar to specify a value in a range.', 'Range', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"class\",\"min\",\"max\",\"step\",\"onchange\",\"showon\"],\"example\":[\"range\",\"range\",\"Range\",\"9\",\"Enter some description\",\"\",\"1\",\"20\",\"1\",\"jQuery(\'#jform_range\').closest(\'.controls\').find(\'span\').remove(); var value = jQuery(\'#jform_range\').val();jQuery(\'#jform_range\').closest(\'.controls\').append(\' \'+value+\'\');\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be range.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(mandatory) this value is the min on the meter.\",\"(mandatory) this value is the max on meter.\",\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\",\"(optional) javascript to run when the range is changed\",\"(optional) show this field on the bases of the value in another field.\"]}', 'Provides a horizontal scroll bar to specify a value in a range.', '', 1, 2, '', ''), +(19, '', 'Provides a modal with rows of formfields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Repeatable', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"default\",\"id\",\"class\",\"select\",\"icon\",\"maximum\",\"fields\",\"filter\",\"showon\"],\"example\":[\"repeatable\",\"repeatable_list\",\"The Repeatable List\",\"\",\"\",\"aid\",\"\",\"Click here\",\"list\",\"50\",\"1,2,3\",\"\",\"\"],\"adjustable\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be repeatable.\",\"(mandatory) is the unique name of the parameter\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\",\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\",\"(mandatory) id of the hidden from field. (the modal will have this id with an added suffix of \\\"_modal\\\" and the table within the modal will have this id with a suffix of _modal_table\\\")\",\"(optional) class of the table.\",\"(optional) (translatable) The text to show on the modal button.\",\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\",\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\",\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\",\"(optional) Use only if you would like to save raw data, since the default is best.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'Allows form fields which can have as many options as the user desires.', '', 1, 4, '', ''), (20, '', 'The spacer form field type provides a visual separator between parameter field elements. It is purely a visual aid and no field value is stored.', 'Spacer', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"hr\",\"class\"],\"example\":[\"spacer\",\"myspacer\",\"The notice\",\"The notice description\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be spacer.\",\"(mandatory) is the unique name of the field.\",\"(optional) (translatable) is the text to use as a spacer.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is whether to display a horizontal rule (\'true\' or \'false\'). If this attribute is \'true\', the label attribute will be ignored.\",\"(optional) is a CSS class name for the HTML form field.\"]}', 'provides a visual separator between form fields. It is purely a visual aid and no value is stored.', '', 1, 1, '', ''), +(21, '', 'Using this generic form field type forces you to write SQL in an XML file and is rather limited. For more flexibility, consider using Custom FieldType.\r\n\r\nThe sql form field type provides a drop down list of entries obtained by running a query on the Joom', 'SQL', '{\"name\":[\"type\",\"name\",\"label\",\"query\",\"default\",\"required\",\"readonly\",\"disabled\",\"description\",\"key_field\",\"value_field\",\"translate\",\"showon\"],\"example\":[\"sql\",\"title\",\"Select an article\",\"SELECT id, concat( title, \' (\', created, \')\') AS title FROM #__content\",\"10\",\"\",\"\",\"\",\"\",\"id\",\"title\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be sql.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the SQL query which will provide the data for the drop-down list. The query must return two columns; one called \'value\' (unless overridden by the key_field attribute) which will hold the values of the list items; the other called the same as the value of the name attribute (unless overridden by the value_field attribute) containing the text to be shown in the drop-down list.\",\"(optional) is the default value. This is the value of the \'value\' field, unless overridden by the key_field attribute.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is the name of the column that will contain values for the parameter. If omitted then the column called \'value\' will be used, if it exists.\",\"(optional) is the name of the column that will contain values to be shown to the user in the drop-down list. If omitted then the column with the same name as the name attribute will be used, if it exists.\",\"(optional) will translate the output of the value_field if set to true. It defaults to false.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a drop down list of entries obtained by running a query on the Joomla Database. The first results column returned by the query provides the values for the drop down box.', '', 1, 2, '', ''), +(22, '', 'The Tag field type provides a point where you can enter tags - this is either AJAX or nested.', 'Tag', '{\"name\":[\"type\",\"name\",\"mode\",\"label\",\"description\",\"id\",\"class\",\"published\",\"language\",\"multiple\",\"custom\",\"showon\"],\"example\":[\"tag\",\"tags\",\"ajax\",\"Tags\",\"Assign tags to ###VIEW### items. Tag names must be unique.\",\"\",\"inputbox small\",\"\",\"\",\"true\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be tag.\",\"(mandatory) is the unique name of the parameter.\",\"(mandatory) is the way the tags will be loaded, the options are ( ajax or nested )\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is the description of the field.\",\"(optional) is the id to add to the field. Note if none is set this will be the name of the field.\",\"(optional) is the class to add to the field.\",\"(optional) determines if non published tags should be allowed.\",\"(optional) is language to filter the existing tags by.\",\"(optional) is the ability to add more than 1 tag to the form field.\",\"(optional) if the ajax mode is chosen setting this to [deny] will prevent users from adding in new tags.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides an entry point for tags (either AJAX or Nested).', '', 1, 2, '', ''), (23, '', '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.', 'Tel', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validated\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"text\",\"phone\",\"Phone\",\"10\",\"50\",\"\",\"Enter phone number\",\"text_area\",\"false\",\"false\",\"false\",\"tel\",\"tel\",\"Error! Please add phone number here.\",\"Your Phone Number\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be text.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(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.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) allow the system to validated the input data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides an input field for a telephone number.', '', 1, 4, '', ''), (24, '', '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.', 'Text', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validate\",\"field\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"text\",\"mytextvalue\",\"Enter some text\",\"10\",\"50\",\"Some text\",\"Enter some description\",\"text_area\",\"false\",\"false\",\"false\",\"STRING\",\"\",\"\",\"Error! Please add some text here.\",\"Your Name Here\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be text.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(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.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) makes the system validate the data.\",\"(optional) used in validation of \\\"equals\\\" to link the field to match.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text box for data entry.', '', 1, 5, '', ''), (25, '', 'The textarea form field type provides a text area for entry of multi-line text. 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.', 'Textarea', '{\"name\":[\"type\",\"name\",\"label\",\"rows\",\"cols\",\"default\",\"description\",\"class\",\"filter\",\"hint\",\"required\",\"readonly\",\"disabled\",\"showon\",\"onchange\"],\"example\":[\"textarea\",\"mytextarea\",\"Enter some text\",\"10\",\"5\",\"default text\",\"Text Area\",\"text_area\",\"raw\",\"\",\"false\",\"false\",\"false\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be textarea.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\",\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The placeholder to display inside the textarea.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text area for entry of multi-line text.', '', 1, 5, '', ''), (26, '', 'The timezones form field type provides a drop down list of time zones. 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.', 'Timezone', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"showon\"],\"example\":[\"timezone\",\"timezone\",\"Timezone\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\"],\"description\":[\"(mandatory) must be timezone.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default time zone. For example, use \'-10\' for \'(UTC -10:00) Hawaii\'.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a drop down list of time zones.', '', 1, 2, '', ''), -(27, '', 'This field essentially is a text field with the type of url. If a fully qualified url (that is one with a scheme and domain such as http://example.com) is entered and it uses idn (that is uses characters that are non ascii such as ê or Ψ) it will translat', 'URL', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validated\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"url\",\"website\",\"Website\",\"10\",\"50\",\"\",\"Enter website address\",\"text_area\",\"\",\"\",\"\",\"url\",\"url\",\"Error! Please add website here.\",\"Your Website Here\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be url.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(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.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) allow the system to validated the input data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a URL text input field.', '', 1, 4, '', ''); +(27, '', 'This field essentially is a text field with the type of url. If a fully qualified url (that is one with a scheme and domain such as http://example.com) is entered and it uses idn (that is uses characters that are non ascii such as ê or Ψ) it will translat', 'URL', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validated\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"url\",\"website\",\"Website\",\"10\",\"50\",\"\",\"Enter website address\",\"text_area\",\"\",\"\",\"\",\"url\",\"url\",\"Error! Please add website here.\",\"Your Website Here\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be url.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(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.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) allow the system to validated the input data.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a URL text input field.', '', 1, 4, '', ''), +(28, '', 'The user form field type provides a modal select box of users.', 'User', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"size\",\"required\",\"showon\"],\"example\":[\"user\",\"user\",\"User\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be user.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field.\",\"(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.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a modal list of users.', '', 1, 2, '', ''), +(29, '', 'The usergroup form field type provides a modal select box of user groups.', 'Usergroup', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"size\",\"required\",\"multiple\",\"showon\"],\"example\":[\"usergroup\",\"usergroup\",\"Group\",\"Select a group\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be usergroup.\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field.\",\"(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.\",\"(optional) is the field required true if yes.\",\"(optional) If set to multiple then allows more than one usergroup to be selected.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'provides a drop down list of user groups.', '', 1, 2, '', ''), +(30, '', 'The filelist form field type provides a drop down list of files from a specified directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.\r\n\r\nBy default, the first item on the', 'Filelist', '{\"name\":[\"type\",\"name\",\"label\",\"directory\",\"default\",\"description\",\"filter\",\"exclude\",\"stripext\",\"hide_none\",\"hide_default\",\"showon\"],\"example\":[\"filelist\",\"myfile\",\"Select a file\",\"images/stories\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be filelist.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the filesystem path to the directory containing the files to be listed. If omitted the directory given by JPATH_ROOT is assumed.\",\"(optional) is the default file name.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a regular expression string which is used to filter the list of files selected for inclusion in the drop-down list. If omitted, all files in the directory are included. The filter argument expression is applied before the exclude argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a regular expression string which is used to exclude files from the list. The exclude argument expression is applied after the filter argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a Boolean argument. If true then file name extensions will be stripped from the file names listed. Also note that the file name will be saved without the extension too.\",\"(optional) is a Boolean argument. If true, the \'- Do not use -\' item is omitted from the drop-down list.\",\"(optional) is a Boolean argument. If true, the \'- Use default -\' item is omitted from the drop-down list.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'Provides a drop down list of files from a specified directory.', '', 1, 2, '', 1), +(31, '', 'The folderlist form field type provides a drop down list of folders from a specfied directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.\r\n\r\nBy default, the first item on ', 'Folderlist', '{\"name\":[\"type\",\"name\",\"label\",\"directory\",\"default\",\"description\",\"filter\",\"exclude\",\"hide_none\",\"hide_default\",\"showon\"],\"example\":[\"folderlist\",\"myfolder\",\"Select a folder\",\"images\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be folderlist.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the filesystem path to the directory containing the folders to be listed.\",\"(optional) is the default folder name.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a regular expression string which is used to filter the list of folders selected for inclusion in the drop-down list. If omitted, all folders in the directory are included. The filter argument expression is applied before the exclude argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a regular expression string which is used to exclude folders from the list. The exclude argument expression is applied after the filter argument expression. For information on constructing regular expressions see Regular expressions in parameter arguments.\",\"(optional) is a Boolean argument. If true, the \'- Do not use -\' item is omitted from the drop-down list.\",\"(optional) is a Boolean argument. If true, the \'- Use default -\' item is omitted from the drop-down list.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'Provides a drop down list of folders from a specified directory.', '', 1, 2, '', 2), +(32, '', 'Note: When using the file input type you should always add the attribute enctype=\"multipart/form-data\" to your form tag. Otherwise, the uploaded files will not be attached correctly. Note 2: You can put a soft limit file size by adding a hidden field with name=\"MAX_FILE_SIZE\" and value the maximum allowed bytes which is handled by php, but you must also handle it in your code with or without it.', 'File', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"default\",\"size\",\"class\",\"labelclass\",\"disabled\",\"onchange\",\"required\",\"validate\",\"showon\"],\"example\":[\"file\",\"myfilevalue\",\"Enter some text\",\"Choose an image from your computer with maximum 100KB\",\"\",\"10\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be file.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) (not translatable) is the default value, but doesn\'t mean much for a file.\",\"(optional) is the width of the file box in characters.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) adds a CSS class for form field\'s label; for Joomla 2.5.4+\",\"(optional) HTML equivalent attribute\",\"(optional) HTML equivalent attribute (javascript use)\",\"(optional) For Joomla form validating it to be filled in\",\"(optional) Whether to Joomla validate the field according to rules\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"]}', 'Provides an input field for files', '', 1, 1, '', 3), +(33, '', 'The menuitem form field type provides a drop down grouped list of the available menu items from your Joomla site.', 'menuitem', '{\"name\":[\"type\",\"name\",\"label\",\"default\",\"description\",\"published\",\"filter\",\"showon\"],\"example\":[\"menuitem\",\"mymenuitem\",\"Select a menu item\",\"\",\"\",\"\",\"int\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be menuitem.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the default menu item. Note that this is the ItemID number of the menu item.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) determines whether all menu items are listed or only published menu items. If state is \'0\' then all menu items will be listed. If state is \'1\' then only published menu items will be listed.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"]}', 'provides a drop down list of the available menu items from your Joomla site.', '', 1, 2, '', 4), +(34, '', 'Remember all views already have [accesslevel] added by default, only add this if you need more custom access selection! Provides a dropdown list of accesslevel options with the current option selected.', 'Accesslevel', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"required\",\"multiple\",\"showon\"],\"example\":[\"accesslevel\",\"accesstwo\",\"Access Two\",\"Select a access level to this concept.\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be accesslevel\",\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute. \",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field.\",\"(optional) is the field required true if yes.\",\"(optional) If set to multiple then allows more than one usergroup to be selected.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'List of accesslevels', '', 1, 1, '', 5), +(35, '', 'Provides a form with rows of fields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Subform', '{\"name\":[\"type\",\"name\",\"label\",\"layout\",\"multiple\",\"fields\",\"description\",\"default\",\"icon\",\"maximum\",\"filter\",\"showon\"],\"example\":[\"subform\",\"options\",\"The Option List\",\"joomla.form.field.subform.repeatable-table\",\"true\",\"1,2,3\",\"\",\"\",\"list\",\"50\",\"\",\"\"],\"adjustable\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"0\",\"0\",\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be subform.\",\"(mandatory) is the unique name of the parameter\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) The layout for the repeatable table.\",\"(mandatory) The rows to be multiple.\",\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\",\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\",\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\",\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\",\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\",\"(optional) Use only if you would like to save raw data, since the default is best.\",\"(optional) show this field on the bases of the value in another field.\"]}', 'Allows form fields which can have as many options as the user desires.', '', 1, 4, '', 6); -- -- Dumping data for table `#__componentbuilder_help_document`