Success

Boolean if a form submission was successful.


Example

{{ form:set is="feedback" }}

    {{ if {form:success} }}
        Thanks for your feedback!
    {{ else }}
        {{ form:create }} ... {{ /form:create }}
    {{ /if }}

{{ /form:set }}

Note that since form:success is a Tag rather than a variable, it should be wrapped with single braces when inside the conditional.


Parameters

formset|in

string

The name of the formset this tag should be targeting. This is only required if you do not use the form:set tag, or if you don't have a formset defined in the current context.

Last modified on March 31, 2016