Dynamically change template variable

I use JS for adding prepositions (which changes based on the word gender), and I want to use {{type:Back}} with already added prepositions.

Is there any way to edit variables of Anki cards template with JS?

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