# If contains command not working for the formmenu

**URL:** <https://community.blaze.today/t/if-contains-command-not-working-for-the-formmenu/69367>\
**Category:** Questions and Help\
**Created:** [November 9, 2026, 4:48pm UTC](https://community.blaze.today/t/if-contains-command-not-working-for-the-formmenu/69367 "2026-11-09T16:48:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christiana\_Swanson\_M](https://community.blaze.today/user_avatar/community.blaze.today/christiana_swanson_m/32/12199_2.png) [@Christiana\_Swanson\_M](https://community.blaze.today/u/Christiana_Swanson_M)\
**Post date:** [November 9, 2026, 4:48pm UTC](https://community.blaze.today/t/if-contains-command-not-working-for-the-formmenu/69367/1 "2026-11-09T16:48:47Z")

</div>

I don't know why the if command is only working for the electromagnetic waves selection for the typesimprove formmenu, but it is not working for the other selections. What am I doing wrong? I have if commands set up this exact way for other parts of the same snippet that is working, but this section is not. What is wrong with the mechanical waves, longitudinal waves, and transverse wave selections that are not allowing the If contains command to not work?

Snippet code:

🌱 Time to grow your understanding of: {formmenu: name=typesimprove; ; electromagnetic waves; mechanical waves; longitudinal waves; transverse waves; electromagnetic spectrum; multiple=yes; formatter=items -\> join(items, "BLAZE\_AND")}

🚀 Opportunities for Growth  
Every gap we identify is just a roadmap for what to master next. I encourage you to review : {if: contains({=typesimprove}, "mechanical waves")}  
Mechanical waves require a medium to travel through. {endif}{if: contains({=typesimprove}, "electromagnetic waves")}  
Electromagnetic waves can travel through a vacuum. {endif} {if: contains({=typesimprove}, " longitudinal waves")}  
Longitudinal waves have particles that move in the same direction as the wave. {endif}{if: contains({=typesimprove}, " transverse waves")}  
Transverse waves have particles that move at right angles to the direction of the wave. {endif}

---

<div class="post-metadata">

**Author:** ![tonydow](https://community.blaze.today/user_avatar/community.blaze.today/tonydow/32/18761_2.png) [@tonydow](https://community.blaze.today/u/tonydow)\
**Post date:** [November 10, 2026, 10:09am UTC](https://community.blaze.today/t/if-contains-command-not-working-for-the-formmenu/69367/2 "2026-11-10T10:09:41Z")

</div>

Would this work for you:

Time to grow your understanding of:{note} {formmenu: electromagnetic waves; mechanical waves; longitudinal waves; transverse waves; electromagnetic spectrum; name=typesimprove; multiple=yes} {endnote}  
{=join(typesimprove, "BLAZE\_AND")}

\*\*Opportunities for Growth\*\*  
Every gap we identify is just a roadmap for what to master next. I encourage you to review :  
{if: contains(typesimprove,"electromagnetic waves")}  
Electromagnetic waves can travel through a vacuum. {endif}  
{if: contains(typesimprove,"mechanical waves")}  
Mechanical waves require a medium to travel through. {endif}  
{if: contains(typesimprove,"longitudinal waves")}  
Longitudinal waves have particles that move in the same direction as the wave. {endif}  
{if: contains(typesimprove,"transverse waves")}  
Transverse waves have particles that move at right angles to the direction of the wave. {endif}  
{if: contains(typesimprove,"electromagnetic spectrum")}  
When the menu selection is "electromagnetic spectrum", this will show.{endif}

---

<div class="post-metadata">

**Author:** ![Christiana\_Swanson\_M](https://community.blaze.today/user_avatar/community.blaze.today/christiana_swanson_m/32/12199_2.png) [@Christiana\_Swanson\_M](https://community.blaze.today/u/Christiana_Swanson_M)\
**Post date:** [November 23, 2026, 10:38pm UTC](https://community.blaze.today/t/if-contains-command-not-working-for-the-formmenu/69367/3 "2026-11-23T22:38:45Z")

</div>

That worked! Thank you!
