You can use another field and make it only appear on the backside.
https://docs.ankiweb.net/templates/fields.html#basic-replacements
To do so go to browse → cards:
Here you can edit the corresponding backside of your Card Types
Also see @kleinerpirat 's answer which covers the code itself