Hello Octopoos,
I modified an admin form via jQuery to get dynamic fields from another form (because there are many many many), to include them inside special #divs in admin.
One final-field for each group finally holds the result in json format and saves it to the according database of the admin form.
Because Seblod notices that there are more fields than the known ones, it fires them to the $config. So far so good (good to know feature).
Now to the prob - my jQuery Code is not executed as I expect it via beforeStore method. This seems independent on the type (file or directly).
It is working when I execute it by myself:
jQuery(this).remove(); //where this is an array object of dynamic fieldgroups
I tried this with submit function, on click event and without any special event (cause maybe beforeStore itself declares it, I may^^). - I also put it inside the JS field directly with and without jQuery Syntax.
Could you point me the direction, where I got a brain error, please? How is to execute jQuery Code in beforeStore method - or are there limitations... or do you have another idea why Seblod ignores my remove command and tries to store non-(really)-existing fields?
Thank you in advance, Pierre.