I need to be able to list all fields with an empty value in them and have a button that deletes fields. I also need that same button to match all fields with an @
symbol and delete them as well. I figured out how to delete all fields with the @
symbol, but cannot figure out how to delete fields with no value.
This is what I have so far:
<$button>
<$list filter="[<currentTiddler>fields[]]" variable="field">
<$list filter="[<currentTiddler>get<field>match[@]]" variable="text">
<$action-deletefield $field=<<field>>/>
</$list>
</$list>
Delete Fields
</$button>
The idea is that I add this button to the tiddler $:/core/ui/EditTemplate/fields
.