> Is there a way in edittemplate to create a custom edit tag field so
> that I can assign a tiddler a tag within a special category of tags?
> Kind of like a shortcut instead of doing formtemplate and
> datatemplate?
> Here's the setup: I'm doing a database of hymns. The list of tags will
> be normal. But a certain hymn might be found in different hymnals with
> different #s. So I'd like to create a special edit tags field for each
> hymnal, then type in the hymn number in that hymnbook's field in edit
> mode, then have a foreachtiddler code pull that number and put it into
> a table.
Add custom tiddler fields is very easy... First, add something like
this to your EditTemplate:
<div class='editor' macro='edit othertags'></div>
Then, to access the stored value in a <<forEachTiddler>> macro, you
can write something like:
tiddler.fields['othertags']
Note: the fieldname (e.g., 'othertags') must be all lower case.
enjoy,
-e