# Type answer: 2 requests

**URL:** <https://forums.ankiweb.net/t/type-answer-2-requests/21445>\
**Category:** Development\
**Created:** [July 14, 2022, 9:29am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445 "2022-07-14T09:29:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BratchePlumb](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BratchePlumb](https://forums.ankiweb.net/u/BratchePlumb)\
**Post date:** [July 14, 2022, 9:29am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/1 "2022-07-14T09:29:05Z")

</div>

1. The add-on “Multi-Line Type Answer Box” allows you to use [[typebox:]] without specifying a field. That allows you to type without any error checking. The typed input is still shown on the back.  
Could someone just explain how the error checking function could be turned off?  
Or an ideal solution would be to make {{type:}} do the same thing.  
Currently the templates allow entering {{type:}} but it does nothing. No input box is created.  
Reason: Sometimes the answer I want to type is a combination of two fields. Sometimes the answer field has more information than I want to type and I don’t want to see the error corrections for a long field.

2. The new format for TTS is great. It allows multiple fields plus extra text all to be included in a single TTS audio.  
Would it be possible to create a [type: …] format which does the same thing?

---

<div class="post-metadata">

**Author:** ![BratchePlumb](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BratchePlumb](https://forums.ankiweb.net/u/BratchePlumb)\
**Post date:** [July 14, 2022, 3:25pm UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/3 "2022-07-14T15:25:30Z")

</div>

For point 1 I should be clear that I still want to see what I have typed on the Back.

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [July 14, 2022, 5:07pm UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/4 "2022-07-14T17:07:19Z")

</div>

Maybe something like this

CSS:

```auto
.typeGood {background-color: #ccc;}
.typeBad {background-color: #ccc;}
.typeMissed {background-color: #ccc;}

#typeans br {display:none;}
#typeans #typearrow { display: none;}

#typeans br ~ .typeGood {display:none;}
#typeans br ~ .typeBad {display:none;}
#typeans br ~ .typeMissed {display:none;}

```

JavaScript (Back template):

```auto
<script>

    var typed_answer = document.querySelector("#typeans").innerHTML;
    var typed_answer_without_dashes = typed_answer.replace(/[-]/g, ""); 
    document.getElementById("typeans").innerHTML = typed_answer_without_dashes;

</script>

```

The purpose of the script is to remove the dashes automatically added by Anki when the positions of what you typed and what you were supposed to type do not match.  
Unfortunately, it also removes manually typed dashes.

---

<div class="post-metadata">

**Author:** ![BratchePlumb](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BratchePlumb](https://forums.ankiweb.net/u/BratchePlumb)\
**Post date:** [July 15, 2022, 1:51am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/5 "2022-07-15T01:51:41Z")

</div>

Thank you! No error correction! It works well.  
I doubt that a lot of users will use this solution so let’s still hope for the {{type:}} solution.

---

<div class="post-metadata">

**Author:** ![jcznk](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/jcznk/32/15215_2.png) [@jcznk](https://forums.ankiweb.net/u/jcznk)\
**Post date:** [July 15, 2022, 7:11am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/6 "2022-07-15T07:11:03Z")

</div>

Agreed! I also think that would be an handy addition.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [July 17, 2022, 1:15am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/7 "2022-07-17T01:15:47Z")

</div>

Added to [move "type in your answer" comparison code into Javascript or Rust · Issue #1068 · ankitects/anki · GitHub](https://github.com/ankitects/anki/issues/1068)

---

<div class="post-metadata">

**Author:** ![BratchePlumb](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BratchePlumb](https://forums.ankiweb.net/u/BratchePlumb)\
**Post date:** [July 27, 2022, 7:29am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/8 "2022-07-27T07:29:21Z")

</div>

Sorry to be redundant but I would like to add that from time to time I have seen requests to allow more than one type box, i.e. the ability to type multiple fields. My requested new [type: …] format would answer that need.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [July 27, 2022, 10:37am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/9 "2022-07-27T10:37:17Z")

</div>

That will need to wait until a future refactor of the review screen.

---

<div class="post-metadata">

**Author:** ![scott2000](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@scott2000](https://forums.ankiweb.net/u/scott2000)\
**Post date:** [November 12, 2022, 1:38am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/10 "2022-11-12T01:38:02Z")

</div>

I had to create an add-on (1827331674) to solve some issues I faced with the type-in-the-answer cards, and it might be nice to have this functionality built into Anki. My add-on gives nicer diffs when there are multiple correct answers for a card, and it also improves diffs for Indic scripts by always grouping combining characters with their base character.

The former feature may be too specific to include in Anki, but I think the latter feature would greatly improve the experience of using Anki for scripts such as Tamil or Devanagari, as people generally think of these grapheme clusters as being full letters rather than thinking of the combining character as being a separate letter, so in my opinion it is unintuitive to show them separately in a diff.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 3:14am UTC](https://forums.ankiweb.net/t/type-answer-2-requests/21445/11 "2023-05-01T03:14:17Z")

</div>

Closed on May 1, 2023, 3:14am UTC


