Merge tag: {gv_magic_link view_id=123 text="Click here"}
Magic Link. A no-login link that lets the recipient edit their own entry. Requires a View ID; the tag is removed entirely when one is missing or the link cannot be built.
| Product | Magic Links |
|---|
| Requires | Magic Links 1.0 or later |
|---|
| Needs an entry | Yes: its value comes from a form entry |
|---|
Attributes
| Name | Type | Required | Default | Description |
|---|
view_id= | number | Yes | — | Which View the recipient edits the entry in. Without it the tag renders as nothing. |
post_id= | number | No | 0 | The page the View is embedded on. Defaults to the View itself. |
text= | text | No | Edit Entry | Anchor text. Ignored when format is url. |
format= | text | No | link | Compared with ===, so the value is case-sensitive and any unrecognised value renders an anchor. |
Values for Output format
| Value | Description |
|---|
link | Anchor tag (default) |
url | Bare URL. The only value that is actually branched on. |
Other values are accepted too.