Shopping Basket


Cart empty

Log In

Find Us Elsewhere


Self-Replicating Form Field for Joomla

There are times as a Joomla extension developer when it would be very useful to have a form field in Joomla that is capable of self-replication. For example, you want your user to be able to input some links, but you don't know in advance how many there will be, you want your user to be able to choose to add as many as they want without imposing any arbitrary limit. What you want is a self-replication form field that can return its values as an array.

Well now you can have one. We have designed a system of self-replicating form fields for Joomla extensions. The variable field form field can be used to generate self-replicating fields of most of the Joomla standard field types, including text, textarea, list and other list based types, such as category or usergroup. The user will see the standard input field, plus buttons which allow the user to add or delete input fields, also to re-order them, also to re-order them up and down.

You can see a couple of simple examples, for the text and list fields, here.

Best of all, you can download it for free here.

This tool for Joomla developers is designed to generate self-replicating form fields for use in Joomla extensions. It is compatible with Joomla 1.5 and 1.6/1.7/2.5, with mootols 1.1 and 1.2 and 1.3, and does not require any other javascript library, so no conflicts with the Joomla admininstrator template. It is very lightweight, consisting of a single javascript file, plus the the Joomla element and formfield classes necessary to generate the custom parameter. It can be used in component, module or plugin parameters to generate an array of self-replicating form fields. Instead of returning a single value as a standard Joomla parameter does, it returns an array of values.

You can find documentation on how to use it here.


Donate to Us

If you like our extensions, consider making a donation to say thanks.


Support Forum