Conditional Forwarding Bug or am I stupid?

I think there is a small bug in the error checking on that page.
If your first attempt is invalid, you will receive an error message. Then (without reloading the page), you try using the correct value, but the function sends both versions, causing the same error message. Reloading the page fix the issue.

I will fix the code.