We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28432
    • 372 Posts
    Hi MODX community,

    I tried to created an reset all button in DB-filters of Migx but unsuccessfully.
    In the DB-filters tab i created a new item with the following configs :

    filter Name : clear
    label : Effacer les filtres
    Empty text : Effacer
    Filter type : resetall

    I pretty sure i'm missing something.
    Thanks in advance for any help.
      • 28432
      • 372 Posts
      Up anyone ? Any ideas ?
        • 38314
        • 45 Posts
        Hi Steeve,

        Just get it working !

        filter Name : clear
        label : Effacer les filtres
        Empty text : Effacer
        Filter type : resetall


        You need to set at least on default values for the others elements ==> the resetall button set to default values filters

        The default values depend with the types :
        -- for textbox, default value as to be '_empty' or 'whateveryouwantstring'
        -- for combobox, default value as to be 'all' to clear all categories for exemple, or another value of your choice


        It deserve to be in the doc !