External requirements: This plugin requires the following additional plugin that must be installed separately:
- the struct plugin
Syntax and usage
This plugins adds additional action to struct bureaucracy integration:
structupdate_udpate. This action allows you to replace the struct data on the current page with new data provided by the bureaucracy form. For example:
<form> action structupdate_update struct_schema example submit </form>
The above syntax will create the form that will allow to modify the “example” schema data assigned to the current page (the page with the form).
Only the fields that are displaied in the form will be modified, the rest will be kept. So the syntax:
<form> action structupdate_update struct_field example.fld submit </form>
will modify only the field “fld” from the “example” schema.
Current version doesn't support pre-filling the form with the current fields' values but work is in the progress.