• Resolved Jeffinho2016

    (@jeffinho2016)


    Hi there,
    I want to know how it would be possible to create a filter for an unchecked checkbox?
    Example:
    I have an ACF checkox “Wireless” Yes/No
    If the checkbox is not checked on my side, then it means the device is Wired.
    How can I therefore filter that Unchecked condition?
    Right now, all I can do is filter wireless, but can’t filter if it’s not wireless.
    Is there a way to do it without adding a “Wired” ACF checkbox to several hundred of products?
    If that helps, I have the pro version (bundled with theme purchase tho, so can’t have access to your pro support)

    • This topic was modified 6 years, 3 months ago by Jeffinho2016.
    • This topic was modified 6 years, 3 months ago by Jeffinho2016.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jeffinho2016

    (@jeffinho2016)

    forget about it.. it would make no sense

    Plugin Author RealMag777

    (@realmag777)

    Hello

    Any way that is possible if to mark all unchecked fields with 0 or any another value as it should not be empty, so if value for unchecked values is applied – step 1 done

    Then, you can create in MDTF meta constructor field as drop-down and set to its opstions the same values which are for no and yes, for example 0 and 1. Then make reflection to that ACF field and you will get

    https://wp-filter.com/document/working-built-meta-data-constructor/ – see info/example about reflection there

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checkbox reflection’ is closed to new replies.