save_draft
Saves form items privately without publishing by submitting only when the publish control stays on its private setting; refuses if it is not.
Instructions
Save the item without showing it to anyone — the safe way to send a form.
A site with no separate "save draft" button means every form POST is the one that could publish, so the difference has to be read off the page rather than chosen by the caller. This sends the form only after confirming the publish control is still on its private setting, and refuses if it is not — so it cannot be used to publish, and a page left armed by anything else will not slip out through it.
Measured on KVR: a new news item opens with is_draft=1 and posting the
form then saves it privately.
submit names the control that sends the form — read_form reports it
in submitText (Submit on a news item, Add on a product). This
asks for SUBMIT but never for PUBLISH: saving is an ordinary
request, and keeping the two apart is what lets an operator write and keep
an item without ever approving a release.
Use publish instead when the item should go out to an audience.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| submit | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||