[Show/Hide Right Column]

Create a button to prefill tacker fields
Print

PluginTrackerPrefill

This plugin for trackers enables you 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.

Syntax
example
{TRACKERPREFILL(page=Order,label=Order,field1=2, value1=Shoes, field2=3,value2=10) /}

It will create "Order" labelled button 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".

Parameters:


ParameterOptions/SyntaxDefaultExplanation
pagestringrequiredThe pagename containing a Tracker wiki-plugin
labelstring The button label. Default is "Go"
field1, field2, ...each param is an ID a list of field IDs
value1, value2,...each param is a text a list of values, valueX is the value of fieldX


Contributors to this page: lindon2331 points  , system , sylvie4333 points  and luciash d' being1589 points  .
Page last modified on Saturday 13 March, 2010 05:48:07 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):