Matabele, that's almost perfect!
To clear up the confusion, I put alot of examples in my wikis; and it's easier to view these on tabs, they make a great reference. However, I get annoyed when I have to scroll up; and then scroll down, and then scroll up...etc... to set all of the tags on all of the tiddlers.
When I use the <<tabs>> macro I use a filter to gather together all of the fields based on a common tag (usually sorting them, but not always)...Note that in your code example, using the <$action-setfield>'s tag attribute, I had to put a in it to tag it using a tag with spaces.
Now what you have in the code here is great; it allows me to use a [prefix[]] or [sufix[]] in the filter to gather the tiddlers and add tags to them...
Now I only have three issues left...generating new tiddlers with a similar name (but not the same name) programmatically....automatically adding an edit link to bring up the tiddler in the tab..., and optionally setting the caption to a substring or regex of the <<currentTiddler>>'s title; or setting the caption programmatically to an incrementing sequence of numbers...being able to do this combined with your example, will allow me to create my tabs without scrolling up and down all the time...
Sorry I'm such a noob with the new syntax...there are alot of things in TW5 it's a little difficult to know where to look without talking to someone about it first.
Making the example tabs manually instead of programmatically really slows me down; when I used TW Classic, I used to make these using PhraseExpress macros, but I personally am not crazy about using a free tool that's basically a keylogger.
Thank you for your example!