How to remove cards that were generated based on a conditional "flag" field?

I have a deck with sentences in Japanese and in English. For each note, I want to create a card for “Japanese to English”.
For only some cards, I want to study “English to Japanese” too.
Currently, I do this via a flag field “study-E-to-J”, and a second card type that only creates a “English to Japanese” card if this field is non-empty. This seems to be the recommended way.

I tested out if a card gets subsequently auto-generated if I fill this flag field at a later day, and it does, which I like very much.

But, if I decide to remove the “English to Japanese” card at a later date, I was hoping that I could just empty the flag field “study-E-to-J”, and the card gets automatically removed, but that does not seem to be the case.

Is there a way to enable this behavior? Or do I just have to manually remove those cards?

There is no way for the card to be automatically deleted once it is generated. That would risk deleting cards (and study history) that you want, based on something as simple as a typo. But no, you can’t delete individual cards manually either.

By removing the conditional-flag, the front of the card should be empty, so you can use the “Empty Cards” action – Card Generation - Anki Manual .

1 Like