GitHub - Joomla-StackExchange/formFields: This repo holds various custom Joomla! form fields.

This repository is holding all custom form fields.

Available custom fields

Every form field is in it's own directory with instuctions to usage. Please see stucture of this repo.

How to add custom form fields?

To add a custom form fields, you should add your fields directory to include path.

For example:

JForm::addFieldPath(PATH_TO_MY_EXTENSION . '/fields');

For component, it usually means

JForm::addFieldPath(JPATH_COMPONENT . '/models/fields');

Resources

Creating a custom form field type

Standard form field types

Form field

Joomla! Developers Documentation