Anki input type

Hi guys, does anyone know how to use {{type:Field}} in FrontTemplate and {{FrontSide}} in BackTemplate but can change the “FrontSide”? Below is illustration image.


In particular, in FrontSide I have a cloze of Keyword, and I want change it to complete Keyword (already have Keyword Field) after pressing Enter and moving to BackSide (In general, I want to change something in FrontSide). Of course, I also want to keep the comparison between typed keyword and actual keyword (red/green in image).
Thanks for any solution.