We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40748
    • 55 Posts
    Hello everyone!

    What's the system event triggered when I change a value of a dropdownlistbox TV?
    Just when change value and move focus to another field of manager or to another TV.
    Before document save.

    Thank you!

      Cheap and ready landing pages: http://real-portal.biz
      Start selling fast, good for dropshipping
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There isn't one. After all, what you do in the browser forms doesn't get sent to MODx until the form is actually submitted.

      It's true that System Settings uses AJAX to auto-save changes, but that's the only one I know of that might have such an event.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4172
        • 5,888 Posts
        As allready said in the other thread.
        The dynamicDropdownTV should do what you need. [ed. note: Bruno17 last edited this post 12 years, 8 months ago.]
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 40748
          • 55 Posts
          Quote from: Bruno17 at Dec 31, 2013, 04:50 AM
          As allready said in the other thread.
          The dynamicDropdownTV should do what you need.

          Hi!

          I tried to use dynamicDropdownTV but got the warning and error:

          [2014-01-02 17:02:54] (ERROR @ /home/virtwww/w_1u2u3u4u_123a0b8c/http/core/cache/includes/elements/modplugin/1.include.cache.php : 92) PHP warning: Invalid argument supplied for foreach()

          (ERROR @ /connectors/layout/modx.config.js.php) Error caching lexicon topic lexicon/ru/core/resource


          I started with Example 1: Default processor usage (XPDO Package) and did all as described here:
          https://github.com/Bruno17/DynamicDropdownTV

          Among three of TV's there is only one that can be open with list (see attached screenshot).
          Other two TV are empty. [ed. note: mixa_ru last edited this post 12 years, 8 months ago.]
            Cheap and ready landing pages: http://real-portal.biz
            Start selling fast, good for dropshipping
            • 4172
            • 5,888 Posts
            1. to get rid of this warnings, try to set the system-setting 'debug' to 0 .

            2. seems, you do not have any children - resources.

            This first example does show all resources of the first level in the

            dynamic0 - listbox

            As soon, as you have selected one, it would show the children-resources of the selected one, if there would be some.

              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!