Now that we've created the "Internal" tracker and its items (that is, the dynamic list of OS/Version combinations) we need to add these items to the "External" tracker.
To accomplish this, we need to create two new fields in the "External" tracker: one for the operating system selection and one for the version selection.
Add the following fields to the "External" tracker:
1
Where: 2 = ID of the Internal Tracker, 10 = Field ID of the primary selection (drop down list)
2
Where: 2 = ID of the Internal Tracker, 10 = Field ID of the primary selection (drop down list), 12 = ID of the item link of the External tracker, 11 = ID of the text field of the Internal tracker
Your "External" tracker should appear similar to this:
Using the Tracker
Now that the "External" tracker includes the dynamic fields, the final step is to update the form we built previously to include these new fields.
- Update the TRACKER plugin to include the new fields
{TRACKER(trackerId="1", fields="1:2:3:4:5:6:8:12:13", showtitle="n", showdesc="y", showmandatory="y", reset="Clear", submit="Send")} Thank you {TRACKER}
- The form now includes the new fields:
- When you select a specific option for the Operating System, its available Version options appear.
You can also update the Trackerlist plugin to display the new fields: