Add a New Special Field Replacement

Background


I am creating a Google form for people to submit any errors they find in my shared deck. Given that the deck is huge, I did something like this to my cards:

Screenshot-2024-11-08-23-34-31-49-a9eef3a2a561b80d5c76daebd0f9a14c

Notice the bottom-right corner. The icon there, when clicked should take people to a Google form with information about the card pre-filled. The users, then can simply tell me what’s wrong with the card and I’ll already know which card they are talking of :brain:

Issue I’m Facing


But I need a value that I can use to pinpoint the card. I have considered adding an extra field to the note types but,

  1. I don’t know how to quickly fill in unique values to that field for all my notes :sob:
  2. I think it’s less helpful when you have a lot of sibling cards.

Request


Could you add a special field replacement like {{CardID}} or {{NoteID}}, please?


If there is already a way to include unique IDs in links like this and anyone here is aware, please also tell me.

1 Like

https://ankiweb.net/shared/info/8897764

This adds a uuid to an empty field named “Note ID” when opening the add or edit note window.

Special Fields

The type of card ("Forward", etc): {{Card}}

{{Note ID}}+{{Card}}

2 Likes

Thanks for the workaround. But for multiple reasons, an extra field won’t be viable for my purposes. I’ll still see if I can do something.

1 Like

Hey, seems like this doesn’t work after all.

I can’t use the add-on on Android, but I still tried adding {{Card}} but seems it doesn’t add card type number. It’s obvious now looking at the docs but without the card type number, it’ll not work for cloze.

Most of my cards/content is cloze. Example:

Screenshot-2024-06-05-09-35-17-52-a9eef3a2a561b80d5c76daebd0f9a14c

Then I guess it’ll also not work for Image Occlusion notes (and just a few days ago, I converted all IOE cards to IO notes manually :sadge: ).

1 Like

Object IDs

1 Like

Cloze Templates

{{#c1}}
    #1
{{/c1}}

{{#c2}}
    #2
{{/c2}}

..
{{#cN}}
    #N
{{/cN}}
1 Like

I of course know how to search cid/nid otherwise I won’t be able to use cid/nid info from people.

The second link perplexed me a bit at first but now I realise I can include conditionals in the pre-fill link itself. Thanks, Keks!

1 Like