Fullscreen
[Show/Hide Right Column]

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: lindon5651 points  , luciash d' being2152 points  , sylvie7154 points  and system .
Page last modified on Saturday 13 March, 2010 05:48:07 UTC by lindon5651 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki