New Initial Filter

Home Forums Cascading dropdowns New Initial Filter

Viewing 2 reply threads
  • Author
    Posts
    • #15930
      Kasey
      Participant

        Is there a way to set the filterValue to the value of a field in the current item? I have tried the below in the CASC configuration. If it can’t be set there could create a custom js function to call on change of my field to update the filter?

        {fieldInternalName}
        {{fieldInternalName}}
        [currentItem:fieldInternalName]

      • #15934
        Alexander Bautz
        Keymaster

          Hi
          I’m posting it here also for others with the same question.

          *********************

          This is not currently possible, but I can add support for it

          In the meantime (and maybe this is a better option for you) you can call it manually like described here: https://spjsblog.com/dffs/dffs-plugins/spjs-cascading-dropdowns/#Invoke_the_function_manually

          Alexander

          • #34458
            Mitchell T
            Participant

              Hey Alexander, did you ever add support for this?

            • #34464
              Alexander Bautz
              Keymaster

                Yes, you find the “Filter [optional]” textarea in the cascading dropdown config.

                Alexander

            • #15936
              Kasey
              Participant

                Thank you. I have tried this but think I am formatting my filter line incorrectly. What is wrong with the below?

                “filter”:”{‘filterField’:’myField’,’filterValue’:’myValue’,’operator’:’eq’}”,

            Viewing 2 reply threads
            • You must be logged in to reply to this topic.