Extension:Page Forms/Manual/The forminput parser function

The forminput parser function lets the user jump to a given page for adding or editing with a form. This is acheived with a small HTML form that links to Special:AddData. It has the following basic usage:

It takes five anonymous parameters. All arguments are optional.


 * form name : The name of the Semantic Form to be used to edit the given page. If this value is omitted, a dropdown list will appear, letting the user choose among all existing forms.
 * size : The size of the text input field in the HTML form (default is 25).
 * value : The starting value of the input (default is blank).
 * button text : The text that will appear on the "submit" button.
 * query string : The query string defines a set of values that get passed to the form.

The query string explained
The query string allows you to preload a form with a set of values. It should look like a typical URL query string; an example would be "namespace=User&User[Is_employee]=yes". What does that mean?

It can take dynamic values such as. This is very usefull for creating linked subpages, for example. What does that mean? Bleah... Link to a 'tip' on smw.referata.com.