Extension:AutoFillFormField

The AutoFillFormField allows to automatically fill form input fields provided by the Semantic Forms extension based on the (live) input of other fields

Rationale
Sometimes choosing the correct page url/title is difficult, since there are many possibilities doing it. This leads to inconsistencies, duplicated pages etc. This extension is an attempt to solve this problem when using Semantic Forms in edit mode.

It allows to define a field that holds the final page url, providing a pattern how to build it. This pattern can create references to other fields, whose input values will be incorporated while typing. Please have a look at the example, it speaks better for itself.

Installation
This extension requires Semantic MediaWiki and Semantic Forms to be installed first.

Instead of downloading the tarball you may also check this extension out via Git:

Usage
Example SemanticForms Form. The important part is marked in bold.

The first field has an smw_autotitle class, which declares it as the target field. The smw_url_ is followed by the name of the source fields, seperated by ? signs.

Example
This is how the code above will look look / behave:



Options and their defaults
TODO: Currently no options available. The seperator (', ') is hardcoded right now.