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.

value of selection type not returned

Mehr
6 Jahre 8 Monate her #4606 von Administrator AV
Administrator AV antwortete auf value of selection type not returned
Hi,

I was a bit slow yesterday.

If you want to actually create a link from the selected options in the result message, this is possible, too. Just use the placeholder inside the href attribute of the link. For example if the name of your select field is "select" this would be:
Code:
<a href="[SELECT]">[SELECT]</a>

If you insert the link using the editor link icon, then just enter the placeholder [SELECT] in the "Url" input.

You can even use the placeholder as part of the href attribute. For example if your documents are all stored in the folder downloads/documents you could use only the document name as option value in the Visforms field of type select and then your link in the result message could look like
Code:
<a href="downloads/documents/[SELECT]">[SELECT]<;/a>

As you can see, using placeholder is really very flexible.

I think, with this solution, even the original Visforms code, that always uses the selected option label, could be used, but with the code changes you have made it's even better.

The only thing you have to make sure is, that a user can never select more than on option, which is the default with a field a type select and radio but must be set in the field configuration for fields of type multicheckbox

Kind 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
6 Jahre 7 Monate her #4722 von Administrator AV
Administrator AV antwortete auf value of selection type not returned
Hi,

I promised to make it a featue in Visforms, that you can choose whether the value or the label is used and to release this with the next Visforms versions.
Sadly, due to problems with Joomla! 3.8, I had to release an unplanned bugfix Version for Visforms on Monday (Visforms 3.9.2) which does not yet contain the modifications. So if you update to Visforms 3.9.2 you will have to make your modifications once again but the feature will be released with Visforms 3.10.0

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