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 }}

form:success is a Tag, not a variable. Wrap it with single braces when inside a conditional.


handle|is|in|form|formset string

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.

Betterify this page on Github!