Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
Create a button to prefill tacker fields | Documentation for Tiki Wiki CMS Groupware
Loading...
 
Skip to main content
Create a button to prefill tacker fields

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

Tiki Doc From Code error: trackerprefill not found

Example

Copy to clipboard
{trackerprefill page="Order" label="Order" field1="2" value1="Shoes" field2="3" value2="10"}


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".


Created by system. Last Modification: Saturday 03 August, 2019 06:35:44 GMT-0000 by Yves Kipondo.
Show PHP error messages