Submission
Display data immediately following a successful submission.
Example
Here we’ll output a small thank-you paragraph once there’s a successful submission, otherwise just show the form itself.
The {{ name }} and {{ rating }} variables would correspond the name="name" and name="rating" fields that
were submitted in the form.
{{ form:set is="feedback" }}
{{ if {form:success} }}
{{ form:submission }}
Thanks for your feedback, {{ name }}.
We appreciate the {{ rating }} star rating you gave us.
{{ /form:submission }}
{{ else }}
{{ form:create }} ... {{ /form:create }}
{{ /if }}
{{ /form:set }}
Parameters
|
formset|in
string |
The name of the formset this tag should be targeting. This is only required if you do not use the |
|---|
Variables
|
submission data
array |
All the fields that were entered in the submission are available in this Tag. |
|---|