How to connect data to a database in such a way that all fields are stored after submitting?
There is not manual unfortunately...
You should be able to do this in the form settings. In Behaviors > Admin, You will need Installer and Connected Tables from the drop-down.
Make sure that the Field names you enter for the DB table matches the field names of your form fields. Also, setup a "Save Data" action on the "end_page" (or last page) to run after the form is submitted.