mailinglist_confirm

Confirm a mailinglist subscription. Required argument is the confirm_key.

Other arguments:

  • on_success - actions which get executed when the subscription is confirmed.
  • on_error - actions which get executed when the subscription fails (e.g. wrong confirm key).

Both action arguments can be repeated. The signed postback passes confirm_key to m_mailinglist:recipient_confirm/2 and runs exactly one of the two action lists.

{% wire action={mailinglist_confirm confirm_key=q.key on_success={show target="confirmed"} on_error={show target="invalid"}} %}

Edit on GitHub