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.

Checkbox maximal Anzahl auswählen beschränken

More
3 weeks 5 days ago #10285 by maka
Hallo

Ich habe eine Checkboxgruppe. Ich möchte da nun den Benutzer einschränken, dass er nur 1 Checkbox wählen kann.

Wie muss ich dazu vorgehen?

Viele Grüsse Mario 

More
3 weeks 1 day ago #10304 by Administrator IV
Replied by Administrator IV on topic Checkbox maximal Anzahl auswählen beschränken
Hallo Mario,

Diese Möglichkeit gibt es in Visforms leider nicht als eine einfache Konfiguration.
Eine Möglichkeit für Entwickler gibt es in Form der Erstellung eines Custom-Plugins.

In der Dokumentation wird beschrieben, wie ein 'Visforms Custom-Plugin' erstellt werden kann.
Custom-Plugin Erstellung:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/
Custom-Plugin Event-System:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/
Es gibt ein fertiges komplettes Custom-Plugin mit allen Events und Hilfsfunktionen als Template, das die Installation von Visforms mitbringt:
docs.joomla-4.visforms.vi-solutions.de/d...-plugin-development/

Der Entwickler kann dann selbst entscheiden, was zusätzlich alles geschehen soll.
Die Erstellung eines Custom-Plugins erfordert etwas Erfahrung in der PHP-Entwicklung unter Joomla.

In deinen Fall musst du im Event 'onVisformsFormPrepare' in Abhängigkeit des Benutzers die gewünschten Checkboxen der Checkbox Gruppe entsprechend manipulieren.
Das Event wird in der Dokumentation beschrieben.
onVisformsFormPrepare:
docs.joomla-5.visforms.vi-solutions.de/d...nvisformsformprepare

Falls du Hilfe bei der Entwicklung des Plugins benötigst, dann können wir dich gerne dabei unterstützen - auch mit der kompletten Implementierung.
Bitte habe Verständnis dafür, dass wir diesen Aufwand zu unserem aktuellen Stundensatz und mindestens 1 Stunde berechnen müssen.

Eine weitere Möglichkeit besteht mit etwas eigenem CSS/JavaScript und den Visforms 'Frontend Webassets'.
Frontend Webassets:
docs.joomla-4.visforms.vi-solutions.de/d...-frontend-webassets/
Alle Einstellungen werden im Formular vorgenommen:
docs.joomla-4.visforms.vi-solutions.de/d...formular-vorgenommen

Liebe Grüße, Ingmar

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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum