Dropdown Menu - value also being inserted

I think I'm having a brain freeze on this..

I have a simple snippet that has a dropdown. Then depending on what you select it should then insert some html.

However when I run or preview it , it also puts in the dropdown value.

Is there anyway to stop this?

(How do you added a snippet to a forum post). It's not working for me.

{formmenu: Headers; default=ABC;CBS; CW; FOX; NBC; Netflix; Hulu; Amazon; name=Network}{if: network=="ABC"}<img class="headerimage" width="726px" src="upload://AeNyFO4aE4nFrS0BHijdhWRzK9Q.jpeg">{endif}{if: network=="CBS"}<img class="headerimage" width="726px" src="upload://fYwn9oEPvGtTMeamf2YN08HCz7p.jpeg">{endif}{if: network=="CW"}<img class='headerimage' width='726px' src='https://files.spoilertv.com/headers/network-cw.jpg' />{endif}{if: network=="NBC"}<img class="headerimage" width="726px" src="upload://r0KX0OihGhd0zgIq2bhukJc0Q9n.jpeg">{endif}{if: network=="FOX"}<img class='headerimage' width='726px' src='https://files.spoilertv.com/headers/network-fox.jpg' />{endif}{if: network=="Netflix"}<img class="headerimage" width="726px" src="upload://jRLRBRC2UWxpi4H4iJSMHt87t6O.jpeg">{endif}{if: network=="Amazon"}<img class="headerimage" width="726px" src="upload://8Ak51R76w3ABocyraLxvIVe1JCD.jpeg">{endif}{if: network=="Hulu"}<img class="headerimage" width="726px" src="upload://pF7HjsNXvelbVStL1KEYYPKg32F.jpeg">{endif}

Here is my code

{formmenu: Headers; default=ABC;CBS; CW; FOX; NBC; Netflix; Hulu; Amazon; name=Network}{if: network=="ABC"}<img class="headerimage" width="726px" src="upload://AeNyFO4aE4nFrS0BHijdhWRzK9Q.jpeg">{endif}{if: network=="CBS"}<img class="headerimage" width="726px" src="upload://fYwn9oEPvGtTMeamf2YN08HCz7p.jpeg">{endif}{if: network=="CW"}<img class='headerimage' width='726px' src='https://files.spoilertv.com/headers/network-cw.jpg' />{endif}{if: network=="NBC"}<img class="headerimage" width="726px" src="upload://r0KX0OihGhd0zgIq2bhukJc0Q9n.jpeg">{endif}{if: network=="FOX"}<img class='headerimage' width='726px' src='https://files.spoilertv.com/headers/network-fox.jpg' />{endif}{if: network=="Netflix"}<img class="headerimage" width="726px" src="upload://jRLRBRC2UWxpi4H4iJSMHt87t6O.jpeg">{endif}{if: network=="Amazon"}<img class="headerimage" width="726px" src="upload://8Ak51R76w3ABocyraLxvIVe1JCD.jpeg">{endif}{if: network=="Hulu"}<img class="headerimage" width="726px" src="upload://pF7HjsNXvelbVStL1KEYYPKg32F.jpeg">{endif}

Hi, you can use the {note} command to tell Text Blaze not to insert parts of your snippet:

Here's an example that would stop the menu from being inserted:

{note}{formmenu: Headers; default=ABC;CBS; CW; FOX; NBC; Netflix; Hulu; Amazon; name=Network}{endnote}Images based on selection...

(the forum software currently can't handle images in snippets which is why you weren't able to add your snippet)

1 Like

Awesome, thank you so much. That's just what I needed :+1::+1::+1: