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?

Compare email addresses for validation

Mehr
10 Jahre 9 Monate her #935 von IreneLennings
IreneLennings antwortete auf Compare email addresses for validation
Dear Aicha,

Next question....

echo '"emailherhaling" : {equalTo : "#field99"},'; on line 147 in default.php works like a charm.
But...I've got more than one form on my site.

I've seen in the default.php that you can identify fields like this:
@this-->visforms->fields[x]
So I'm hoping that a form can be identified by @this->visforms->form

So I think I need something like this:

If ($this->visforms->form->name = "form1")
{ echo '"emailherhaling" : {equalTo : "#field99"},' }
else if ($this->visforms->form->name = "form2")
{ echo '"emailherhaling" : {equalTo : "#field99"},' }
else if ($this->visforms->form->name = "form3")
{ echo '"emailherhaling" : {equalTo : "#field99"},' }

I can try it of course, but I'd rather ask you first!

Regards,
Irene

Mehr
10 Jahre 9 Monate her #937 von Administrator AV
Administrator AV antwortete auf Compare email addresses for validation
Hi Irene,

when you override the default.php that comes form components/com_visforms/views/visforms/tmplyou (what I think you do) you can identify a form by

$this->visforms->id

which obviously will check against the forms id.

When you override the default.php from the module it's

$visforms->id

Regards,
Aicha

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

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 5:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 4.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum