AdvancedCustomFields / AdvancedCustomFields/acf

Request for more Conditional Logic options for ACF fields

Open
#685 0 comments 0 reactions 0 assignees View on GitHub

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

Bildschirmfoto 2022-08-13 um 13 38 20

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.