Purpose

Persists a submitted form. Runs field validation (including readonly-hash verification), executes the form’s tasks, and writes the entry.

Payload

  • form_id — id of the form being saved
  • entity — entity id (optional, resolved from the form if missing)
  • form_data — map of field id → submitted value (readonly fields carry their integrity hash)

Response

CALLBACK_TYPE_DATA with the saved entry on success, CALLBACK_TYPE_MESSAGE on validation errors, CALLBACK_TYPE_SCRIPT for post-save behaviour (e.g. closing the modal and refreshing the DataTable).

Notes

Internal action — triggered by WR’s own frontend JS. The payload shape is not a public API and can change between releases.