AdvancedCustomFields / AdvancedCustomFields/acf
Request for more Conditional Logic options for ACF fields
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hey @mattgrshaw @lgladdy
Currently I'm working on dynamic loading of field values by AJAX. I've noticed a show stopper, because if I want to use the "Conditional Logic" in the case of dynamic passed data values, the "Conditional Logic" options are not enough.
The only thing I can use at this point to check for an dynamic loaded value is the option: Value contains
Currently I can't finalize my work, because some "Conditional Logic" options are missing here.
Therefore I want to request, additional options like:
Value contains not
Value is equal to STRING (Currently this can be selected by saved fields, but not entered individually)
Value is not equal to STRING (Currently this can be selected by saved fields, but not entered individually)
Is there a way to expand this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the Conditional Logic UI and the handling for dynamically loaded field values, then compare the existing “Value contains” and saved-field comparison options; done means the three requested comparison options are available for dynamic values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100