# Deleting a table row based on a variable

**URL:** <https://community.blaze.today/t/deleting-a-table-row-based-on-a-variable/40294>\
**Category:** Questions and Help\
**Created:** [August 19, 2024, 2:28pm UTC](https://community.blaze.today/t/deleting-a-table-row-based-on-a-variable/40294 "2024-08-19T14:28:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geoff\_Kraabel](https://community.blaze.today/user_avatar/community.blaze.today/geoff_kraabel/32/7051_2.png) [@Geoff\_Kraabel](https://community.blaze.today/u/Geoff_Kraabel)\
**Post date:** [August 19, 2024, 2:28pm UTC](https://community.blaze.today/t/deleting-a-table-row-based-on-a-variable/40294/1 "2024-08-19T14:28:37Z")

</div>

Is there a way to delete a row in a table based on a variable?  
For example if option A is chosen I want to delete the entire row that has table value 2 in the table.

{formmenu: Choice A; default=Choice B; Choice C; name=Options}

{if: options = "A"}  
Table Value 1   
Table Value 2   
Table Value 3   
{endif}

---

<div class="post-metadata">

**Author:** ![Dan\_Barak1](https://community.blaze.today/user_avatar/community.blaze.today/dan_barak1/32/2322_2.png) [@Dan\_Barak1](https://community.blaze.today/u/Dan_Barak1)\
**Post date:** [August 19, 2024, 5:23pm UTC](https://community.blaze.today/t/deleting-a-table-row-based-on-a-variable/40294/2 "2024-08-19T17:23:51Z")

</div>

Hi @Geoff_Kraabel  
Do you mean something like this?

{formmenu: Choice A; default=Choice B; Choice C; name=options}

| **Option** | **Value** | **Details** |
| X | 1 | &nbsp;  
 |
| Y | 3 | &nbsp;  
 |
| {if: options\<\>"Choice A"}Z | 2 | {endif} |
