Hello, I’m new to JS. I have been trying this for a long time but had no luck. Any advice would be very welcome.
I have a question in a survey asking for employment income. Respondents need to select the way they want to report their salary then enter a numeric value:

I wanted to calculate annual salary based on response to monthly/bi-weekly/hourly rates and show the calculated annual salary to respondents on the next page and confirm it’s the right amount. If it’s not correct, respondents will be able to go back and correct their answer. My JS on the salary question is like this:

And my survey flow is like this:

On the verification page, the calculated field doesn’t show up, and there is no error message either. What went wrong?
Thank you!