Disappearance of Fields

Hi,

Since I switched to Qt6, I’ve encountered an issue with the shared deck that I customized with my data for learning verb tenses (present, past, and past participles).

Each card is designed with three fields on the front side, but as you can see in the screenshot, only the first field for the verb is visible, and it’s now stretched wider than before. The other two fields (for past and past participle) are hidden.

When I click “Show Answer,” all the data for the fields appears correctly on the back of the card. I should have three fields for data input on the front side, but only one is displayed and it’s stretched too wide, the other two fields for the past and past participle have disappeared to type in them, and now; the deck unusable. I’m unsure why this is happening or how to resolve it.

We cannot help you with any issue with your card format unless you give us your card format. There most likely is a typo in your card format which is why this is occurring. The field for typing stretching is known and infact is expected behaviour. It occupies (almost) the entire width of the screen.

1 Like

I attempted to upload the deck file, but it seems that uploads are not permitted here. Instead, I will paste the “Cards” data below:

Front:

<div style='font-family: Arial; font-weight:bold; color: #00a9fe;font-size: 80px;'>{{edit:Word}}</div>

<hr style='margin-left: 10%; margin-right: 10%'>



{{type:cloze:Text}}

Back:

<div dir="ltr">
<div style='font-family: Calibri; font-size: 50px; text-align:center'>{{edit:cloze:Text}}</div>

Styling:

.card {
  font-family: Arial;
  font-size: 20px;
  text-align: center;
  color: lightblue;
  background-color:#404040;
}

.cloze {
  font-weight: bold;font-size: 45px;
  color: yellow;
}
.nightMode .cloze {
 color: lightblue;
}
1 Like

If what you have sent for the front card is complete, then there is the issue. There is only one replacement. How do you expect Anki to add the other fields if those aren’t present in the template? Also, “Stretching” of the field seems to be just resizing of it, nothing else. You can edit that yourself.

Is edit:Word the name of the field? That’s also a little bit strange to me, I haven’t seen that anywhere. Similarly, what is edit:cloze:text?

1 Like

I didn’t modify that deck or the cards, and it was functioning well two weeks ago. I created my data based on the linked deck I referenced in my question. I’m unsure how to adjust the cards to recover the missing fields for the past and past participle forms of a verb, as well as how to resize the type field. I apologize; I’m not very skilled with coding and markup in the cards.

I added the “edit:” to modify a term in case I made a typo or something similar while reviewing, and it worked perfectly.

Thank you for your help!

How could it be that you didn’t modify the deck or the cards, yet created it based on a reference deck?
Kindly take a look at how to create cards, explained at great length in the manual. If after reading the manual, you still do not understand what you need to do, don’t hesitate to ask. Reading shouldn’t take that much time.

Also, your explanation on the edit: bit doesn’t make much sense to somebody unfamiliar with the addon. I had to search a bit to find out that there is an addon which provides this functionality, which was what I was asking.

1 Like

Hi SuhasK ‎

I apologize for my late response. I want to clarify that I didn’t make any radical changes to ‎the HTML codes in Anki’s cards. I simply added an “edit” word to the cards, similar to what ‎I’ve done in my other decks. This allows me to edit them if necessary—like correcting ‎typos—while I’m reviewing and entering data into the fields. ‎

I’m unsure why this issue is occurring, but it seems to be affecting all three of my decks. ‎Fortunately, the number of cards and data isn’t too extensive, so I can recreate them from ‎scratch in a new, correct deck. I believe this strange issue began when I switched to Qt6. I ‎also looked into the link you provided, but it didn’t help with my particular situation.‎

I’m looking to create a deck specifically for irregular verbs. Ideally, I would like two fields on ‎each card (or four fields to accommodate both US and UK variations) that I can fill in by ‎typing on the FRONT card. It’s essential that the empty fields hide the answers until I click ‎the “Show Answer” button to reveal them on the BACK card. ‎

I’m puzzled as to why Anki doesn’t have an option for such a straightforward deck, and I’m ‎unsure how to create a customized version myself. I’ve included a sample of what I’m ‎hoping to achieve. The number of fields can vary; it’s not a critical factor.‎

Thank you for your assistance!‎

Example 1:

chide

Preterite
{{c1::chided}}
{{c1::chide}}

Past participle
{{c1::chided}}
{{c1::chidedden}}

Example 2:

Spit

Preterite (UK)
‎{{c1::spat}}

Preterite (US)
‎{{c1::spit}}

Past participle (UK)
‎{{c1::spat}}

Past participle (US)
‎{{c1::spit}}‎

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.