We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24991
    • 4 Posts
    At the moment if you haven’t changed any fields on a specific page, the save button is greyed out until you have. I am currently using some javascript to change the fields values, and MODx doesn’t register this as a change to the field and the save button remains disabled. Is there a way of making the save button constantly enabled, in order to get around this problem?
      • 21838
      • 284 Posts
      If you’re using the js in a plugin or sth like that you can mark your code as "dirty". Otherwise it’s not possible currently I think.
        MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)
        • 24991
        • 4 Posts
        Thanks smooth-graphics,
        Would you be able to tell me how to mark my code as "dirty"?
          • 28215
          • 4,149 Posts
          MODx.fireResourceFormChange();
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com