Need help with code using Anvil Works

I am having some trouble here. This code is for a GUI with radio buttons, text boxes, and a text area. When ever I run the code and press enter in text box 1 with radio button 4 selected, I only get the outputs from the first if block, even if I type in 2 and press enter, nothing changes. I’m new to Python and could use some help figuring this out. Thanks in advance!