If you make copies of toggles containing manually-entered IDs within the same topic you must change the IDs in the copies, otherwise you will have ID conflicts. Help+Manual automatically flags copied and cloned toggles containing ID conflicts by highlighting them in red, and it will not allow you to manually enter a duplicate ID for a toggle.
If you want to clone toggles, for example by copying or with snippets, it can be annoying to have to manually edit the ID for every toggle you enter. You can get around this problem by creating an automatically-incrementing ID with text variables.
You can't mix text and variables in topic IDs so you need to create two variables to do this.
1.Go to and create two text variables, one for the static part of the ID and one for the incrementing number. The static part can have any name you like, the incrementing number must have two plus characters at the end of its name, for example TOGGLLENO++.
2.Let's say the two variables are TOGGLEID and TOGGLENO++. Now enter any text you like as the text for the TOGGLEID variable, for example mytoggle_, and a 0 (the number zero) as the text for the TOGGLENO++ variable, like this (this example shows similar variables for use in tables):
3. Then instead of an ID, type in both variables in the Optional ID: field in the Edit/Insert Toggle dialog, like this:
<%TOGGLEID%><%TOGGLENO++%>
Then every time you insert a copy of the toggle in your project a new unique ID will be generated automatically. The first will be mytoggle_1, the second will be mytoggle_2 and so on.
|