Submission

Whenever you're dealing with a submission in your template, you're actually working with a Submission object.

Attributes

AttributeDescription
idID of the submission.
formIdThe form ID this submission was made on.
formThe Form this submission was made on.
statusIdThe status ID this submission is set to.
statusThe status this submission is set to.
userIdThe user ID of the user that created the submission (if enabled on the form).
userThe User (opens new window) that created the submission (if enabled on the form).
originSiteIdThe site ID this submission was made on.
snapshotThe saved snapshot of data used when calling setFieldSettings() during render.
ipAddressIf set to capture IP addresses, this will be the IP address of the submitter.
isIncompleteFor multi-page forms, this will show whether the submission is partially completed.
isSpamWhether or not this submission is marked as spam.
spamReasonIf this submission is marked as spam, it will provide a reason description for why it was.
validateCurrentPageOnlyFor multi-page forms, whether to validate only the current page.
dateCreatedThe date this submission was created.

Previous ← Field Next Notification →

Get started with Formie

Available for Craft 4. Get it from the plugin store.