Form submission doesn't work if reached trough anchor link

On my website: https://66684c799cf20c000872eb51–redrink.netlify.app/en, I am experiencing the following issue. The page contains a form at the bottom that uses Netlify forms. When you scroll down, fill out the form, and press submit, it works correctly.

However, if you reach the form by clicking the “Contact us” button in the navigation bar, the URL changes to https://66684c799cf20c000872eb51–redrink.netlify.app/en#contact. In this case, when the form is filled out and submitted, nothing happens.

Any advice on how to resolve this issue would be greatly appreciated!

You’ve not specificed any action on the form, so browser doesn’t know where to post it to. Adding the action or using JavaScript-based submission should fix it.