Cloze Cards with mixed type and non type deletions

I really like cloze deletion cards. But I would like to have one card where one deletion is just a normal deletion and another one is a typing one (one where I can type in the answer). I know how I can make all deletions of a card type ones. But I would like to have that on a deletion and not card level. Is that possible?

Even if you have a type-answer box, you don’t have to type an answer into it. Have you considered that?

You can mark your regular deletions as {{c1: ...}} and typing deletions with {{c2: ...}}. Then, on the template level you can use

{{#c1}}
 ...
{{/c1}}

sections for code specific to regular deletions and

{{#c2}}
 ...
{{/c2}}

specific to typing.

Then, when making cards, just select the respective cloze number to generate the required type of card (or use both to generate both cards for the note).

This is a super “work around” for me. Since I have a programmed script that generates me my cards, I don’t even have to bother with that that much. Thanks so much for this.

The only thing that I noticed, when I have two type in deletions at the same time (e. g. two times c1) I only get one input and have to input both separated by a comma. Do you happen to know if I can get two inputs (for two deletions etc.)?

There are add-ons for multiple input fields, or you can code custom typing into the card if you need it to work outside of the desktop app. But the recommended way of dealing with multiple pieces of information that you want to test on separately is to just make separate cards. You can just as well adapt the described approach to treat odd closes as regular ones and even as typing, for example.

I ran into a similar problem and put together a small script that solved this for me. It basically lets you control which clozes show the type-in input and which don’t, so the end result is a single card with multiple clozes, but the input field only shows up for specific ones. Wrote it up here if anyone wants to try it: anki-scripts/selective-cloze-input.md at main · solmarita/anki-scripts · GitHub