How to create a button to bulk delete fields that match a certain criteria from tiddlers. Below given is the code which I tried, but this delete only one field at a time. I want to delete all those fields which meets the criteria
\function tbl-fieldnames()
[<currentTiddler>fields[]prefix[tbl-]enlist-input[]]
\end
\procedure delete-tbl-fields()
<$action-deletefield $field=<<tbl-fieldnames>> $timestamp="no"/>
\end
<$button actions=<<delete-tbl-fields>>>
{{$:/core/images/delete-button}}
</$button>