Hello folks,
I am creating a custom template with the following fields:
- English
- Noun/Verb/Adjective
- Other Word Classes
- Sentence
- Grammatical function
- Pronunciation
- Picture
- Chinese
- Inflection
- Notes
- Source
Out of those fields, I want to create different cards depending on which fields are filled with text. For instance, Card type number 2, called “Comprehension Other”, creates cards for all those cards that depict neither Noun/Verb/Adjective nor a Sentence (e.g. a conjunction like “and”). For this reason, it is only supposed to create this card if the field “Other Word Classes” is filled with content. To that end, I have programmed the front of the template as follows:
{{#Other Word Classes}}
{{/Other Word Classes}}
However, instead of not creating the card in the first place, it does create the card, displaying the message “The Front of this card is blank”. The issue is that I only want this card type to be created if and only if the Field “Other Word Classes” is actually filled with something. I don’t understand why the conditional replacements are not working. Does anybody know what I’m doing wrong?
Thanks in advance for your help!
