I am thinking about how I might do a dropdown list for data entry as follows:
I have many tiddlers of gun types, typeA typeB typeC etc
I have a gun tiddler than contains a field for its type and its value should be one of the gun type tiddler titles.
So I have a simple select
statement using a filter to add the known gun types to the option
list.
So far so good.
However, when the gun tiddler field is populated, I want the gun type field to be a wiki link to the stated gun type tiddler, it can contain more descriptive information on the gun type. So, I suspect the field value should be something like [[typeA]]
so that when it displays, it shows up as a blue wikitext link that the user can click to navigate to the gun type tiddler.
But, on editing the gun tiddler, the edit form should remove the [[
and ]]
so it just shows the gun type title again.
For the life of me, I can’t figure out how this might be accomplished.
Can someone point me in the right direction.
bobj