Form:Success Tag

This is how you check if a form was successful outside of a form:create tag.


{{ if {form:success in="contact"} }}
<p>Thanks for filling out the survey! Sorry it was so long.</p>
{{ /if }}
Hot Tip!

form:success is a Tag, not a variable. Be sure to wrap it with single braces when inside a condition.




Specify the name of the form. Only required if you do not use the form:set tag, or don't have a form defined in the current context.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →