New Initial Filter

Forums Cascading dropdowns New Initial Filter

This topic contains 2 replies, has 2 voices, and was last updated by  Kasey 5 months, 3 weeks ago.

  • 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: http://spjsblog.com/dffs/dffs-plugins/spjs-cascading-dropdowns/#Invoke_the_function_manually

    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’}”,

You must be logged in to reply to this topic.