Hi, I will briefly explain the problem.
I have a custom module and to speed up the entries, I would like to insert, at the top, next to the “Save” and “Cancel” buttons also the “Save and Continue” button, as it appears in other modules, many of the fields in this form are already filled and of course, when it goes to the next creation, the data must be filled as when it was first entered. In addition, I made a small change in suitecrm\custom\Extension\modules<MY_MODULE>\Ext\Layoutdefs_override_MODULE so that the creation takes place within the subpanel of another module:
and the button I wanted appears, but only if I access from listview->create.
Instead, I would like it to appear when I click on the “create” button on the subpanel.
I think it depends on the fact that when accessing via subpanel’s create, it is redirected to
suitecrm/index.php
whereas if I click create from listview I am redirected to
Yes, I had seen those files before, but I don’t know how to modify them for my needs.
Also in the subpanel I don’t use SubpanelQuickCreate.php but SubPanelTopCreateButton.php
I was able to add the “save and continue” button via subpanel, the problem is that if I press it, it takes me to the next record edit and not to the creation of a new record.
How do I solve this?
Okay, assuming I create the js and php code, how do I call it up? From where? Considering that I need to pass it some predetermined values that fill the form.