Conditional Logic Not Working

Support MB Conditional Logic Conditional Logic Not Working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47237
    Tanja KropfTanja Kropf
    Participant

    I'm going nuts trying to get a field to show based on conditional logic. It's making no sense to me why it won't. Basically, when someone checks yes that they are an event organizer, the next field group should show, but it's not.

    One field:
    Are you the event organizer (event_organizer)? I've tried it as radio (yes:Yes no:No) Checkbox list, checkbox.

    The next field (group): Online RSVPs, Sales, Registrations (online_registration_sales)
    -The next subfield (switch): Enable Online Registration/Sales (switch on for yes) (enable_registration_sales)

    Conditional logic is set on Online RSVPs, Sales, Registrations (online_registration_sales)
    visible when any:
    I've tried event_organizer=true =yes =Yes =1

    What the heck am I doing wrong?

    ChatGPT is telling me to do exactly what I'm doing. I even tried recreating a new checkbox field and it did the same thing.

    #47238
    Tanja KropfTanja Kropf
    Participant

    Yeah I'm realizing my conditional logic isn't working anywhere now. Here's what I've tried to fix:
    Disabled all plugins
    Changed themes
    Cleared all caches
    Flushed permalinks
    Ensured conditional logic extension is enabled

    Nothing is working.

    #47245
    PeterPeter
    Moderator

    Hello Tanja,

    If you are using the builder, please export the field group to a JSON file and share it here. If you use the code to register the custom fields, please share the code also.
    I will help you check the field settings and conditional logic.
    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
    https://docs.metabox.io/creating-fields-with-code/

    #47248
    Tanja KropfTanja Kropf
    Participant

    It's not working at all on any field. I created a test custom field with only a radio button set to hide/show on whether it was selected. That didn't work either. And the conditional logic I'd set up for other fields that was working are no longer working. No conditional logic is working at all on my site for Metabox.

    #47250
    PeterPeter
    Moderator

    Hello,

    Is there any chance you read my request above? Please export the field group to a JSON file and share it here, I will help you check the field settings.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.