-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Usable in Conditional Logic #5
Comments
Hi @leolll ACF currently doesn't provide an official (and handy) way to handle conditional logic in custom field types (see the issue referenced above, ACF author said this is planned for this year). Anyway, I figured something out to make this work in the meantime (only works on v5/pro). Can you please test this before I release it? You can download the conditional logic enabled version on this branch: https://github.com/nlemoine/acf-country/tree/feature-conditional |
@nlemoine Thanks for taking a look at this. I've only got v4 installed so I can't help test this. |
@leolll |
@nlemoine Works great! Tried it with multiple field types using "is equal to" & "is not equal to" and it worked in all cases. |
Thanks for your feedback! I'll release a new version today. |
Hi there, Is it possible to use code snippets to apply your conditionalerizer to another custom field (that currently doesn't allow itself to be selected for conditional logic), specifically user_role: Here in github: https://github.com/danielpataki/ACF-Role-Selector Thank you! |
Any way to make the Country field type available for Conditional Logic? Currently, ACF doesn't consider it a toggle field.
The text was updated successfully, but these errors were encountered: