# Metaobject form buttons

> The values of `data-action` inside `metaobject-creator` or `metaobject-editor`.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/attributes/metaobject-actions  
Updated: 2026-10-13

## Where it can go

- **Inside any of:** [`metaobject-creator`](https://www.smootify.io/docs/reference/elements/metaobject-creator), [`metaobject-editor`](https://www.smootify.io/docs/reference/elements/metaobject-editor).
- On a real `<button>` (a Webflow Button is a link, a Form Button an input).

## Values

| Attribute and value | What it is | Notes |
|---|---|---|
| `data-action="share"` | Share the new entry | In the form’s success state: shares the created entry’s link (the device’s share sheet, else copied); data-copy always copies, data-title titles the share; inside metaobject-creator |
| `data-action="delete"` | Delete the entry | Deletes the entry its owner is editing; data-confirm asks first, data-redirect goes there after; inside metaobject-editor |
