• Resolved henrydunbar

    (@henrydunbar)


    Hi There,
    I’ve recently updated the plugin and am encountering a few new issues.
    Field Rules no longer seem to work. Also the data seems to randomly be erased when updating. This is the case for css-classes as well as messages on labels.
    This is the case both with old fields from pre-update as well as new ones as far as I can tell. Any help would be much appreciated.
    Many thanks,
    Henry

Viewing 15 replies - 1 through 15 (of 16 total)
  • It is sending private data to my clients and I cannot edit the fields anymore. I deactivated the plugin.
    Ralph

    Plugin Contributor Sark

    (@sarkware)

    @henrydunbar working on the fix, since it happens very random. Will release the update shortly.

    Fields rules has few changes, pls post the page url I will check what went wrong.

    Plugin Contributor Sark

    (@sarkware)

    @rrshh hi which data it is sending.?

    Pls post few more details so that we can fix it.

    Thread Starter henrydunbar

    (@henrydunbar)

    Thank you for getting back to me so quickly. It is this page:
    https://filmofthemonth.com/product/submission/

    It is specifically the additional credits part, there is some css there but it is a checkbox and should reveal the boxes below.

    It was all working as expected pre-version 4 if that helps. I tried recreating the product fields but had the same issue plus it wasn’t saving correctly.

    Plugin Contributor Sark

    (@sarkware)

    @henrydunbar Got it, i was my mistake, will release the fix shortly. I made few changes on Field Ruules module especially on checkbox rules. it was caused by that.

    Will update you shortly.

    Plugin Contributor Sark

    (@sarkware)

    @henrydunbar Hi, both issue solved.
    Regarding the checkbox field rule, now it expect both state Checked and Unchecked.

    Earlier it was a single rules, now we have to update the rules for both state.

    Thread Starter henrydunbar

    (@henrydunbar)

    Amazing! Thank you. I’ve just updated and i can’t seem to figure out how to get it to update do i need to do anything to make the existing product fields start working?

    Plugin Author Saravana Kumar K

    (@mycholan)

    @henrydunbar Yes, pls update the field rule for that checkbox, One rule is for, if it is checked and another one is if it not checked.

    Thread Starter henrydunbar

    (@henrydunbar)

    Hi Saravana,
    I’ve tried updating it and even just deleting the checkbox and making it new but it doesn’t seem to be working. I’ve tried making it both is checked and is not checked.

    Plugin Contributor Sark

    (@sarkware)

    I just checked the link shared. it has only one set of rule which for checked state. you need to add one more rule for not checked state. so the final rules should be looks like the below

    {
      "wccpf_DzJmdvj52JIE": [
        {
          "expected_value": [
            "add credits"
          ],
          "field_rules": {
            "wccpf_additional_credit": "show",
            "wccpf_additional_name": "show",
            "wccpf_website_link": "show",
            "wccpf_add_role_1": "show",
            "wccpf_add_name_1": "show",
            "wccpf_link_1": "show",
            "wccpf_add_role_2": "show",
            "wccpf_add_name_2": "show",
            "wccpf_link_2": "show",
            "wccpf_credit_3": "show",
            "wccpf_name_3": "show",
            "wccpf_link_3": "show",
            "wccpf_credit_4": "show",
            "wccpf_name_4": "show",
            "wccpf_link_4": "show",
            "wccpf_credit_5": "show",
            "wccpf_name_5": "show",
            "wccpf_link_5": "show"
          },
          "logic": "has-options"
        },
        {
          "expected_value": [
            "add credits"
          ],
          "field_rules": {
            "wccpf_additional_credit": "hide",
            "wccpf_additional_name": "hide",
            "wccpf_website_link": "hide",
            "wccpf_add_role_1": "hide",
            "wccpf_add_name_1": "hide",
            "wccpf_link_1": "hide",
            "wccpf_add_role_2": "hide",
            "wccpf_add_name_2": "hide",
            "wccpf_link_2": "hide",
            "wccpf_credit_3": "hide",
            "wccpf_name_3": "hide",
            "wccpf_link_3": "hide",
            "wccpf_credit_4": "hide",
            "wccpf_name_4": "hide",
            "wccpf_link_4": "hide",
            "wccpf_credit_5": "hide",
            "wccpf_name_5": "hide",
            "wccpf_link_5": "hide"
          },
          "logic": "has-not-options"
        }
      ]
    }
    Thread Starter henrydunbar

    (@henrydunbar)

    Thank you. That’s done the trick! Thank you so much for you help. It’s been said a few times here but your customer service is second to none.! Thank you again.

    Plugin Contributor Sark

    (@sarkware)

    Glad it helped, pls consider to give a review, that would means a lot.

    Thread Starter henrydunbar

    (@henrydunbar)

    Hi there,
    I’m not too sure which one but one of the recent updates seems to have broken this again? I checked the settings and they had reverted to nil but when i redid it it now no longer works. Any idea how to fix it?
    Many thanks,
    Henry

    Thread Starter henrydunbar

    (@henrydunbar)

    sorry to expand when i update the settings they don’t save and the second rule(the one to hide the fields) disappears.

    Thread Starter henrydunbar

    (@henrydunbar)

    Hi there,
    I’m still facing this issue. The updates since it was fixed seem to have caused the issue to start again. I am fully up to date but the hide and show based on a checkbox is not working for me. If i try to add a second rule for hide, when i click update the second rule disappears. Any help would be much appreciated
    Many thanks,
    Henry

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘issue since update’ is closed to new replies.