• 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

Dynamic autotaging in editor

frumple

Well-known member
Is there a way to autotag items bootstrapped in the editor based upon the choice of another editor entry.

For example

Code:
	<inputthing
		name="Race source..."
		helptext="Select the race.">
		<it_tagpick group="Race" tag="r?"/>
	</inputthing>

        <inputthing
                name="Subtype"
                helptext="Choose subtypes.">
                <it_bootcustom compset="Subtype">
                    <autotag group="SpecSource"><![CDATA[
                             *** script to make this @tag attribute the same as the 
                             *** one from the previous inputthing
                     ]]>
                     </autotag>
                 </it_bootcustom>
         </inputthing>
 
Oh well.

In that case how does a template (in Pathfinder) auto assign the tag SpecSource tag to all its direct bootstraps?
 
In the component, they use an <identity> element to generate SpecSource tags. Templates in Pathfinder don't use the editor for that.
 
Back
Top