Date: Mon, 16 Jun 2008 14:15:24 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20080124)
X-Rcs-Id: $Id$
Content-Type: application/x-phpwiki;
pagename=Help%2FWikiFormRichPlugin;
flags=PAGE_LOCKED;
markup=2;
charset=iso-8859-1
Content-Transfer-Encoding: binary
Create generic and enhanced forms, with various options:
* - editbox[] name=.. value=.. text=.. autocomplete=0|1
* - checkbox[] name=.. value=0|1 checked text=..
* - radio[] name=.. value=.. text=..
* - pulldown[] name=.. value=.. selected=.. text=.. autocomplete=0|1
* - combobox[] name=.. value=.. text=.. method=.. args=..
* - hidden[] name=.. value=..
* - submit[]
* - action, submit buttontext, optional cancel button (bool)
* - method=get or post, Default: post.
Valid arguments for pulldown and editbox: autocomplete=1, Default: 0
If autocomplete=1, additional arguments method and args may be used.
autocomplete together with dyn-methods (see below) should be used to handle larger lists (> 500).
If no method is given, value will be used to fill in the valid values.
method="xmlrpc:name [optional args]"
method="dynxmlrpc:url [optional args]"
method="url:http://server/wiki/method"
method="dynurl:http://server/wiki/method"
method="array:jsvariable"
method="plugin:pluginname [optional args]"
The plugin must return a pagelist.
args are optional arguments, space seperated, for the method.
A combobox is a pulldown with autocomplete=1.
!!! Author
[Reini Urban|PhpWiki:ReiniUrban]
- Values which are constants are evaluated.
- The cancel button must be supported by the action.
(just some wikiadmin actions so far)
- improve layout by: nobr=1
- some allow values as list from
!!! Samples
----
----
----
----
----
----
?>
----
submit[]
?>
----
?>
----
----
----
----
[PhpWikiDocumentation] [CategoryWikiPlugin]