Ecommerce for Statamic

Download form

Outputs a form to trigger a download.

Parameters

attr
Allows you to set any number of HTML attributes on the <form> tag. Attribute and value should be separated by a colon : and you can specify multiple attributes by pipe | delimiting them.
eg. attr="class:my-form|data-this:that"

Fields

file
Accepts an encrypted file path.

Example

{{ bison:download_form }}
  <input type="file" />
  <input type="submit" />
{{ /bison:download_form }}


Problem with this page? Edit it on Github.