My page template pulls the contents of its summary section using {{$doc_data.summary}} so that the documents can be indexed/ summarised in a struct aggregation.
@!!PAGE@
Summary
{{$doc_data.summary}}
I want to create a form with an action of template
to guide users in the creation of a new page that uses the template.
I can put the contents of the summary field into the summary section of the page using @@summary@@
page template syntax but instead of this I want to put the contents of the summary form field into the struct data for the new page.
I've seen some information that I understand to be used to include struct global data in a form but I haven't seen anything that allows me to insert data into struct from the form.
Can this be done ?