You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may be doing something wrong, but this is not working for me.
The example shown in content/collections/tags/form-errors.md states:
Note that since form:errors is a Tag rather than a variable, it should be wrapped with single braces when inside the conditional.
However, when I try exactly that, I get an error.
{{ form:set is="my_formset_handle" }}
{{ if {form:errors} }}
<p>There were some errors with your submission. Please fix them as indicated below and try submitting again.</p>
{{ /if }}
{{ form:create }}
...
{{ /form:create }}
{{ /form:set }}
NOTE: the formset does exist.
When I remove the single brackets from {{ if {form:errors} }} then it works fine.
Using Statamic v2.11.15
The text was updated successfully, but these errors were encountered:
I may be doing something wrong, but this is not working for me.
The example shown in content/collections/tags/form-errors.md states:
However, when I try exactly that, I get an error.
NOTE: the formset does exist.
When I remove the single brackets from
{{ if {form:errors} }}
then it works fine.Using Statamic v2.11.15
The text was updated successfully, but these errors were encountered: