You may have seen the links by @Villeroy not suggesting LibreOffice. Your task can’t be done easily with an Office-suite, wich is usually bound to a desktop-computer or Laptop.
.
You may check the documentation on Writer and find how to create forms or even read on forms with Base (the database-connection of LibreOffice), but the first problem to solve would be the receivers of your form would need LibreOffice to fill your forms. The second, their data would stay on their computers.
.
To avoid the first obstacle one could convert forms to pdf, for the second a database on a website (often MySQL) could be used.
.
At this point most people use either a Webservice as already suggested, or will create the form with php on a website and only access the result in the MySQL-database via Base or export to csv.
.
So choice is yours, but you will probably not find a step-by step documentation for LibreOffice… (If you find something, you are welcome to post it here).