Access Form variables from Blade? #5533
Unanswered
jacksleight
asked this question in
Q&A
Replies: 2 comments 2 replies
-
We added the Looks like we'll need to tweak some tags to return stuff suitable for Blade. The form tags does some template parsing of its own, which obviously wouldn't apply to Blade. You can open an issue instead if you like. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With the Blade changes in 3.3 is it possible to access the same Form variables that are available when using Antlers?
If I call
Statamic::tag('form:contact')->fetch()
I get an HTML string with the opening and closing<form>
tags. Whereas in Antlers you have access to all the variables likesuccess
/errors
and thefields
array etc.Is there another method I should be calling?
Beta Was this translation helpful? Give feedback.
All reactions