Toggle for popup window

Hi,

I'm looking to make some snippets for my workplace and some of the snippets I'd like to be an over-arching 'help' snippet that opens as a popup and displays a list of snippets for that subject.

I have made some already, but I have found for some that if there is just information being presented (no forms being used) the snippet defaults to entering the text where as I would like it to open in a popup window.

Is it possible to implement an overriding toggle for this situation? One that forces a text only snippet to open in a popup rather than directly inputting the text into the program being used?

Thanks,
Jesse

Hi, and welcome to the forum! :slight_smile:

Snippets will insert directly unless they have commands in them that require a form window.

If you want to force your snippet to open in a form window you can include a form element (like a {formtext} in it).

If you don't want the user to see that form element, you can wrap it in a {note} command.

For example: {note: preview=no; insert=no}{formtext}{endnote}

1 Like

Thanks Scott, I will do that!