Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] about new conditional field #134

Closed
dimitrilongo opened this issue Mar 16, 2017 · 3 comments
Closed

[question] about new conditional field #134

dimitrilongo opened this issue Mar 16, 2017 · 3 comments

Comments

@dimitrilongo
Copy link

could you provide a example how to use the new conditional field ?
Thanks

@rhukster
Copy link
Member

https://gist.github.com/rhukster/7e83c40e906e92a5acf91a80303c034d

Where 'id' is a twig variable available in the form. If true, the fields under the conditional will render.

I know this needs to be documented, it's listed here: getgrav/grav-learn#356

@dimitrilongo
Copy link
Author

thank you so much

@dimitrilongo
Copy link
Author

conditional fields works only on form frontend ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants