This page is to document Fabrik's Form fields which are used to create Fabrik's setting screens in the Joomla back-end.
They are not the same as Fabrik Elements which are the means of creating Fabrik Lists and Forms. This page has been created for the benefit of people contributing to the maintenance and development of Fabrik itself, and will not be of any relevance to people using Fabrik to develop web solutions with Joomla.
These can be used in combination with
Joomla's own Form Fields.
This documentation has been split across 2 WIki entries due to size limitations of the Wiki software. The first half is available
here.
TO BE DOCUMENTED
Group Elements
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Group List
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Group Repeat
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Help Link
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Hidden Params
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Image Libs
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
List Elements
Provides a dropdown list of
Elements. This form field is distinguished from the
Elements formfield by virtue of this being designed to work inside a fabrikmodalrepeat form field i.e. to be inside a popup repeat group box that appears when you click the fabrikmodalrepeat button.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be listfields.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- filter (optional) a list of element types separated by "|" that will be listed. If omitted the list of Elements is not filtered by element type. (Only useable in list, group & form editing pages.)
- connection (optional) the field containing the Fabrik connection to be used. If the connection field is omitted the site-database is assumed.
- connection_in_repeat (optional, default true) set to "false" if the connection field is not part of the repeatgroup or Joomla subform.
- valueformat (optional, default "id") set this to "tableelement" if you want the value saved in params to be the SQL table column name rather than the default alternative of id.
- onlylistfields
- raw
- label_method
- nojoins
- mode
- usestep
- FOLLOWING ARE JS ATTS
- at
- repeat
- mode
- highlightpk
- table
- showall
- addbrackets
- modefield
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Package List
Provides a dropdown list of
Elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Plugin List
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Popup Forms
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Recursive Folder List
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Specific Ordering
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
SQL 2
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Stripe Web Hook
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Sub-Options
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Swap List
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Tables
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Text or WYSIWYG
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Toggle Options List
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Toggle Options Radio
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional) is a CSS class name for the HTML form field. If omitted this will default to 'inputbox'.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Upload Size
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):
Visualization List
Provides a dropdown list of elements for the Cascading Dropdown List plugin.
- name (mandatory) is the unique name of the parameter.
- type (mandatory) must be element.
- label (mandatory, translatable) is the descriptive title of the field.
- description (optional, translatable) description text for the form field.
- class (optional, default inputbox) is a CSS class name for the HTML form field.
- required (optional) set to true if you want this to be a mandatory field
Implemented by: /administrator/components/com_fabrik/models/fields/element.php
Extends:
Joomla's List form field type
Example XML Definition (from .xml):