Closed sjclark closed 9 months ago
Confirmed!
Hey 👋
I'm unable to reproduce this issue on the latest version of Statamic. The success & error messages display as expected when wrapping the form in the {{ nocache }}
tag:
I'm going to close this issue now. If you're still experiencing this issue, please leave a comment and we can re-open the issue. Thanks!
Bug description
Success / Error form logic doesn't seem to work within
nocache
tags as per the docs when usingfull
caching - the messages will not be shown.The example is essentially just from here https://statamic.dev/tags/form-create#overview wrapped as per docs here: https://statamic.dev/tags/nocache#forms
RE: "However, if your form has logic in it, like validation or success messages, you'll need to keep the form:create dynamic by wrapping in nocache tags."
How to reproduce
Within a fresh Statamic install turn on Static Cache
full
Create acontact
formTry to use (from docs):
Attempt to use form and find that validation messages are not shown.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
It's possible that this is just an error in the docs (stating functionality that doesn't work?)