I'm trying to use the multi-select form element in a Moodle database to generate a list of tags. I would like these tags to link to the relevant search page displaying the filtered results.
The following template code works for singly tagged items, but fails for items with multiple tags:
<a href="/view.php?mode=list&filter=Tags">Tags</a>
Is there a way to loop over items in a multi-select? Something like:
for Tag in Tags <a href="/view.php?mode=list&filter=Tag">Tag</a> /for