Hi, I am setting up a document template, and need to have some headings that are formatted as "hidden text", so that I can bookmark the text, and using a "ref" field, replicate this text in the header of that section, but not show in the document itself when printed. The problem this creates for me is that the hidden text will not show up in the table of contents, and this is something I need it to do. The ability to show and hide the hidden text needs to be retained, to make things easier for the people who will use the document. Any tips on the best way to proceed would be appreciated.

Cheers, Roger