• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Editor: Restricting tag options

RavenX

Well-known member
Mathias,

How can I restrict the choice of tags presented in the editor to only a few specific tags? Say for example I only want the list of tags to show 4 of the available helper tags? Helper.Secondary, Helper.Tertiary, ... , Helper.Quintenary would be the tags I wish to restrict the choices to in my data.
 
Change your tag group name - using the Helper group for all that was a bad choice in d20/Pathfinder - you'll find it much easier to specify in the editor if your tags are all in a single group, with nothing extraneous in that group.

I'd also use Primary as a distinct tag, if I could do things over in d20/Pathfinder. Having to add expressions like "!Helper.Secondary & !Helper.Tertiary & !Helper.Quaternary" is clumsy.

Code:
<group
id="AbilGroup"
sequence="idvalue">
<value id="Primary1" name="Primary"/>
<value id="Secondary2" name="Secondary"/>
<value id="Tertiary3" name="Tertiary"/>
<value id="Quaternar4" name="Quaternary"/>
</group>

Notice that I also added numbers into each - the first thing that allows you to do is use sequence="idvalue", so they sort in the proper order, instead of alphabetically, and if the need for it comes up at some time, you have the option of testing tagvalue[AbilGroup.?], which will return a number.
 
I see. I guess a group of 5 tags will be easier to work with. I'll get to work building a new tag list and start making changes.
 
Back
Top