New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Get form submission by id

Taylor Collins February 26, 2019 by Taylor Collins

Is it possible to get, using Antlers, a single form submission by its id?

I've tried the following to no avail:

{{ form:submissions in="contact" id:is="1551200528.05" limit="1" }}
    {{ id }}<br>
    {{ name }}
{{ /form:submissions }}

However, using a field (e.g. email) does work:

{{ form:submissions in="contact" email:is="[email protected]" limit="1" }}
    {{ id }}<br>
    {{ name }}
{{ /form:submissions }}
Answered by Taylor Collins!
>>>>>>> Answered <<<<<<<
9 Replies