Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Event Before/AfterFormSave nach/bei Edit

More
3 years 9 months ago #6970 by MaliRaj
Mit den Events BeforeFormSave und AfterFormSave führe ich zusätzlich eigenen Code aus.
Welches Event lässt sich nutzen, um in der EditView gemachte Angaben vor / bzw nach Save anzupassen?

In EditFormPrepare kann ich nur auf die bisher gespeicherten Werte zugreifen, nicht aber auf die geänderten. Gibt es dafür ein Event wie "EditBeforeFormSave" und/oder EditAfterFormSave? Den Code für "EditAfterFormSave" könnte ich in EditMailPrepare unterbringen, da ich Mails über das Formular nutze. (nicht schön aber machbar über das geänderte visforms-Objekt).
Gibt es da einen besseren Ansatz für mich?

Freundliche Grüße aus PM
Heinz

More
3 years 9 months ago #6972 by Administrator AV
Replied by Administrator AV on topic Event Before/AfterFormSave nach/bei Edit
Hallo,

es gibt ein "onVisformsBeforeEditSave" und ein "onVisformsAfterEditFormSave", das sind die analogen Events auf der Edit Funktionalität. Sie haben dieselben Parameter und der $context ist 'com_visforms.form'

Gruß,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: MaliRaj

More
3 years 9 months ago #6978 by MaliRaj
Replied by MaliRaj on topic Event Before/AfterFormSave nach/bei Edit
Das ist ja perfekt! Genau was ich brauche. Vielen vielen Dank.

Freundliche Grüße aus PM
Heinz

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum