Joomla 5 Mitteilung

Wir freuen uns mitteilen zu können, dass seit dem 29. Januar 2024 alle unsere Joomla Erweiterungen mit Joomla 5 kompatible sind.

Für alle die gerade noch von Joomla 3 auf 4 aktualisieren: Anleitungen für die Joomla 4 Migration gibt es hier:

Es gibt nun auch eine eigenständige Dokumentation für Visforms für Joomla 4 und für Visforms auf Joomla 5

Forum

Visforms Subscription Inhaber können in unserem Forum Fragen stellen. Bitte mit dem entsprechenden Benutzer anmelden.
Jeder kann lesend auf das Forum zugreifen.

Bitte stellen Sie nur 1 Frage pro Thema.

insert another add query on submit button

Mehr
8 Jahre 5 Monate her #2247 von brijesh4534
insert another add query on submit button wurde erstellt von brijesh4534
On my website, i have added a form and it stores data of the person who has filled that form.

Now i want to add that data to another server on the time of submission if the form i.e. when the record in visf0rm1 is updated the same should be updated on another server.
Is that possible???

and yes then where do i have to update the query....

Mehr
8 Jahre 5 Monate her #2249 von Administrator AV
Administrator AV antwortete auf insert another add query on submit button
Hi,

you have already posted almost the same question once on this forum and received a good answer.
Please don't repeat yourself!
As I have answered you already, you have to create a custom Plugin for Visforms using the onVisformsAfterFormSave Event.
You simply have to write a standard Joomla! Plugin of type Visforms.
You can find information about the parameters available for this event in the documentation.
www.vi-solutions.de/en/documentations/vi...loper-feature-events
Regards,
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 :-).

Mehr
8 Jahre 4 Monate her #2376 von brijesh4534
brijesh4534 antwortete auf insert another add query on submit button
i checked the AfterFormSave Event. it works after it saves the data in database, the thing is i dont want to save the data on database, infact i have created the file and i just want to execute at the time, when user presses the submit button and that file should also execute...

Mehr
8 Jahre 4 Monate her #2377 von Administrator AV
Administrator AV antwortete auf insert another add query on submit button
Hi,

well then you could use the onVisformsBeforeFormSave Event and inside the function onVisformsBeforeFormSave($context, $form, $fields) in your plugin you have to stop all further processing of Visforms code after you have done what you want to do with plugin.
Code:
public function onVisformsBeforeFormSave($context, $form, $fields) { //your code in here $app = JFactory::getApplication(); //clear user state, this is important! $app->setUserState('com_visforms.form' . $form->id , null); $app->redirect("index.php"); $app->close(); return false; }

Regards,
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 :-).

Mehr
8 Jahre 4 Monate her #2382 von brijesh4534
brijesh4534 antwortete auf insert another add query on submit button
Can you help me in making this plugin...??

Mehr
8 Jahre 3 Monate her #2397 von Administrator AV
Administrator AV antwortete auf insert another add query on submit button
Hi,

yes I can help you making this plugin but I have to charge for my work.
You can send me a description of what you need to contact@vi-solutions.de so that I can make you an offer.

Regards,
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 :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum