I have a struct schema for recording reviews of each page,
I need the option for multiple reviews for each page.
It has name fields and date fields and a text field for notes.
I can use this syntax to put a form on the page to be reviewed:
===== Review Record =====
Use the form below to add a review record
---- struct serial ----
schema: review_records
----
But I want to record who made the entry and when.
I can't see anything change in the page history when a review record is made
I can't see anything in the schema (or the sqlite db) that records who made the change and when
I want to fill in the time the record was made and user details of the person creating the record automatically.
I tried a struct action in bureaucracy
<form>
action struct_lookup
struct_field "reviewrecord.name"
submit "Save into lookup"
</form>
as per the example here: https://www.dokuwiki.org/plugin:struct:bureaucracy#action_struct_lookupaction_struct_lookup
but noticed that
1) this refers to struct lookup rather than struct serial
2) no fields are shown in the form, just the submit button
I also tried (hopefully as I found no reference to it)
<form>
action struct_serial
struct_field "reviewrecord.reviewer"
submit "Save into serial record"
</form>
and this didn't show any form fields either
I looked at the additional struct plugins but nothing appeared to fix
I'm not sure if I'm going to have to use pagemod plugin instead. Other than not being able to aggregate all reviews onto one "All reviews" page are there any other disadvantages of using pagemod for this type of record?