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.

Wichtige Angaben für fast jede Frage:
V1: Welche Visforms-Version läuft?
V2: Welche Joomla-Version läuft?
V3: Welche PHP-Version läuft?

Custom validation (server based) [solved]

Mehr
1 Monat 1 Tag her - 1 Monat 23 Stunden her #11234 von yellowbird
Custom validation (server based) [solved] wurde erstellt von yellowbird
Hello Ingmar,

thank you very much! I knew I was missing something obvious I read earlier...
Letzte Änderung: 1 Monat 23 Stunden her von yellowbird.

Mehr
1 Monat 1 Tag her - 1 Monat 1 Tag her #11238 von Administrator IV
Administrator IV antwortete auf Custom validation (server based)
Hello yellowbird,

Visforms also has a plugin interface for custom validation of form entries in the backend.

One option for developers is to create a custom plugin.
The documentation describes how to create a 'Visforms custom plugin'.

Custom plugin creation:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/

Custom plugin event system:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/

There is a complete, ready-made custom plugin with all events and auxiliary functions as a template that comes with the Visforms installation:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/

The developer can then decide for himself what else should happen.
Creating a custom plugin requires some experience in PHP development under Joomla.

The relevant event for you is the following:
Code:
onVisformsBeforeFormSave

In this event handler you can
- attach your own validation,
- correctly write a meaningful error message to $form->errors in the event of an error,
- correctly set the result argument.

Best regards, Ingmar [/code][/code]

: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 :-).
Letzte Änderung: 1 Monat 1 Tag her von Administrator IV.

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum