Loading...
 
Skip to main content

ItemLink: use = operator to have different value and data in drop down - like select tag in HTML

Status
Open
Subject
ItemLink: use = operator to have different value and data in drop down - like select tag in HTML
Version
16.x
Category
  • Feature request
Feature
Trackers
Resolution status
New
Submitted by
Niel Hirjee
Lastmod by
Niel Hirjee
Rating
(0)
Description

In ItemLink if the setting for "Format for Customising Multiple Field"s has a "=" between two tracker fields (e.g. %0=%1) then one should be treated as value and the other as data.

This will be consistent with the behavior of the "Other" setting in DropDown field type and will simulate the options of the HTML select tag.

The enhanced functionality will enable ItemLink to display one set of data in a drop down but store the corresponding value in the tracker field; for those situations where we wish to store the value and not the data that the user selects in the drop down.

Currently the functionality is:
<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>

The enhancement will make this possible:
<select>
<option value="68768">Volvo</option>
<option value="543543">Saab</option>
<option value="678654">Mercedes</option>
<option value="32342">Audi</option>
</select>

Importance
8
Easy to solve?
10 easy
Priority
80
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6241
Created
Thursday 12 January, 2017 20:05:11 UTC
by Niel Hirjee
LastModif
Thursday 12 January, 2017 20:05:11 UTC


Show PHP error messages