Hi,
how to control Onsave/submit form event?
file: views/view.edit.php
Any help will highly appreciable.
Regards
Hi,
how to control Onsave/submit form event?
file: views/view.edit.php
Any help will highly appreciable.
Regards
Hi,
are you talking about the js-frontend or the php-backend?
if you’re talking about the backend, have a look at logic hooks (trigger: before_save or after_save):
if you want to add a custom js listener, test your code first and inject it using the editviewdefs like:
'includes' =>
array (
0 =>
array (
'file' => 'your/subfolder/path/myscript.js',
),
),