The __[FormPlugin]__ is a [NeWikiPlugin] that extends [RestrictedWikiPlugin], providing a configurable online form that stores the results in page attributes. ''Yes'', anyone who is authorised to fill out the form can change the page attributes.

This plugin relies on the WikiWebService to be installed and configured. TBD
 

Also see the [FormPluginTestPage].


! Usage

Each field definition is on its own line. There __must__ be a blank line after the plugin command line.
{{{
[{Form [form='form'] [debug='true|false'] 
(blank line)
TYPE1:NAME1 LABEL1 ATTR_NAME1A=ATTR_VALUE1A ATTR_NAME1B=ATTR_VALUE1B
TYPE2:NAME2 LABEL2 ATTR_NAME2A=ATTR_VALUE2A ATTR_NAME2B=ATTR_VALUE2B
}]
}}}
The {{form}} and {{debug}} attributes are optional.


See [FormInputAttributes] for supported attributes.


!! Example

{{{
[{Form form='form' debug='true'

text:field1 label1 style=color:white;background-color:red
foo:field2 
text:field3 label3 readonly=readonly title=hover+text alt=alternate+text
}]
}}}

[{Form form='form' debug='true' 

text:field1 label1 style=color:white;background-color:red
foo:field2 
text:field3 label3 readonly=readonly title=hover+text alt=alternate+text
}]

----

! Page Attributes

[{PageAttributes}]

----

[{Tag NeWikiPlugin RestrictedWikiPlugin}]