Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

Form:Success Tag

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

Example

{{ 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.

Parameters

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.

Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?