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!
-
☆ 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.
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.]
Quote from: Bruno17 at Dec 31, 2013, 04:50 AMAs 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.]
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.