Loading...
 
Skip to main content

History: PluginTrackerPrefill

Source of version: 10 (current)

Copy to clipboard
             # Plugin Tracker Prefill

*Introduced in ((Tiki2))*

Use this ((wiki plugin)) for ((trackers)) to display a button with a link to a page containing a tracker plugin ((PluginTracker)). In the parameters, you will be able to specify default values for some fields.

## Parameters

{pluginmanager plugin="trackerprefill"}

## Example

{CODE(colors="tiki")}
{trackerprefill page="Order" label="Order" field1="2" value1="Shoes" field2="3" value2="10"}
{CODE}

The above syntax will create a button labelled "Order" that will link to `tiki-index.php?page=Order&prefills=2:3&values[]=Shoes&values[]=10` 
If the wiki page named "Order" contains a tracker plugin with 2 fields (2 and 3), the tracker form will prefill in the fields 2 and 3 values "Shoes" and "10".