Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created October 6, 2013 16:46
Show Gist options
  • Select an option

  • Save objectivehtml/6856249 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/6856249 to your computer and use it in GitHub Desktop.
{exp:postmaster:email_form:open
action="your/current/template"
method="post"
}
{exp:channel:entries [your_params]}
<label><input type="input" name="email[{count}]" value="{email}" /> {email}</label><br>
<input type="hidden" name="data[{count}][custom_var_1]" value="{custom_var_1}" />
<input type="hidden" name="data[{count}][custom_var_2]" value="{custom_var_2}" />
{/exp:channel:entries}
<button type="submit">Submit</button>
{/exp:postmaster:email_form:open}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment