Creating subpage from frontend

I create a page like in this cookbook.
But every new send of my form is generating a new Struturefield. Is it possible to generate everytime a new subpage instead of a new Structurefield?


I found this in the documentation:

This solves my problem with generating a subpage.

The first part of the cookbook recipe deals with creating subpages, the second with creating a new structure field entry. So it’s all there.