How can one translate "Submit the form" (in a HTML page) into German?
I’ve searched an the dictionary says that "Submit" is something like "Vorlegen" but I’m not sure about it.
It depends on what that form is doing for the user, but in any case "Absenden" or "Abschicken" (identical meaning) would fit very well.
If its something like an application or a legal request, it might be better to use something like "Antrag einreichen".
A great website for word combinations like that is linguee.de, as you can see here. "Vorlegen" on its own might be translated to "submit", but in that use case of submitting a form on a web page, its never really used.
In the forms that I did write, I very often used »ok« for the submit-button. You can use »absenden« or »abschicken« too, but I never have seen any form that used the word »vorlegen«.
My tip #1:
Write onto the button what it does:
»Buch suchen« if it starts a search for a book
»Adresse ändern« if the address will be changed
»Antrag einreichen« if a claim will be submitted
»Daten speichern« If some data will be stored
If it is clear what will be changed, stored or submitted, you can only use the verb too:
But be sure to write verbs in all lower case. Only nouns begin with an upper case letter. Verbs don't.
My tip #2:
Do not write forms in a language that you don't speak fluently! Hire a professional translator.
There are so many forms and sites in bad German out there, and nobody uses them, because their language is so bad.
Better invest a little amount of money and let your complete user-interface be translated by people who are professional translators.
DO NOT USE MACHINE-TRANSLATION! Let a translation-machine translate this text here into German, and then back into English, and you will understand why you never should do this for something that is offered to real users.
My tip #3:
Make all buttons big enough, so that the German text fits into it. In German you need more letters to write the same content as in English. Many programmers design their buttons to be big enough for the english text, but when a user uses the German version with buttons that are optimized for english text, then some parts of the texts are invisible.
Since it's HTML "Formular absenden" is the best translation. "Abschicken" is for letters.