Joomla 6 Notice

We are pleased to announce that all our Joomla extensions have been compatible with Joomla 6 since October 14th, 2025.

For those currently upgrading from Joomla 3 to 4: Instructions for Joomla 4 migration can be found here:

There are standalone documentations Visforms Joomla 4, Visforms Joomla 5 and Visforms Joomla 6.

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.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Custom validation (server based) [solved]

More
1 year 1 month ago - 1 year 1 month ago #11234 by yellowbird
Custom validation (server based) [solved] was created by yellowbird
Hello Ingmar,

thank you very much! I knew I was missing something obvious I read earlier...
Last edit: 1 year 1 month ago by yellowbird.

More
1 year 1 month ago - 1 year 1 month ago #11238 by Administrator IV
Replied by Administrator IV on topic 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 6:
docs.joomla-6.visforms.vi-solutions.de/en/docs/
Please ask only 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation fĂĽr Joomla 6:
docs.joomla-6.visforms.vi-solutions.de/docs/
Bitte immer nur 1 Frage pro Thema stellen :-).
Last edit: 1 year 1 month ago by Administrator IV.

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum