Deleting tabs in CFFORM

I've been on a quest to find out how to show/hide/generate tabs in <cfform> based on selected options (which I still cannot do, so if you know please post in the comments). But on my journey I have discovered how to completely remove (delete) a tab and thought it might be usful to others. tabs.destroyChildAt(1);