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.

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

Aufgrund von Feiertagen und Urlaub ist bei Anfragen im Forum in der Zeit vom 20. Dezember 2024 bis zum 8.Januar 2025 mit verlängerten Antwortzeiten zu rechnen.

Redirect to the detail after form sent

Mehr
10 Monate 5 Tage her #10095 von Administrator IV
Administrator IV antwortete auf Redirect to the detail after form sent
Hello gms,

1: it is possible to have the field pre-selected and hidden.

In the field configuration, tab 'Basic Options' you have to make the following settings:
Option 'Preselect solitary option' = 'True'
Option 'Hide when preselected' = 'True'

Your solution works well and is probably sufficient for you.

The solution with a 'Visforms Custom Plugin'
- would be the technically safe option and
- requires little code.

2: A technically safe option means here:

The next record ID to be assigned is fetched 'early'.
However, if the form is sent 'late', the next data record ID to be assigned may already be different because other forms have been sent by other users in the meantime.
In such a case, the redirection would be to another user's data.

In a 'Visforms Custom Plugin', however, you can access the data record ID that is actually used.

3: The secure SQL statement looks like this.
Code:
select ifnull(max(id),0) + 1 as label, ifnull(max(id),0) + 1 as value from #__visforms_[form-id];

This SQL statement also works for the very first submission of the form if there is no data in the data table yet.
In this case the SQL function max() would return 'null'.
And a 'null + 1' would also return a 'null', i.e. not 1 and there would be an error in the redirect URL.

SQL max() function with null values:
www.w3resource.com/sql/aggregate-functio...with_null_values.php
MySQL IFNULL() Function:
www.w3schools.com/sql/func_mysql_ifnull.asp

4: We think your requirement is a good addition to the existing options for a redirect as a simple configuration.

I have created an issue for development in the wish list:
Issue [VF-1004] Forum: Redirect after Form Submit: Add Option: Redirect to detail-view of submitted form data

When we release the new feature, you will be explicitly informed about the release here in the topic.
Thank you again for your contribution!

Kind regards, 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 :-).

Mehr
10 Monate 5 Tage her #10098 von qms
Superb!!!
yes my solution is not technically save
but since only 1 user using  the form at any given time this is enough for now (might be changed in the future)
i still gonna play with custom plugin for a bit, though

Thanks for the outstanding support
i'm glad i choose this form

Cheers
 

Mehr
10 Monate 3 Tage her #10100 von Administrator IV
Administrator IV antwortete auf Redirect to the detail after form sent
Thanks for your great feedback and you're welcome!
We try our best...

: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 Monate 4 Tage her #10474 von Administrator IV
Administrator IV antwortete auf Redirect to the detail after form sent
Hello gms,

The options for forwarding actions on the 'Result' tab in the form configuration are already quite detailed and now also very flexible (see below).
A redirect to the detail view is a very specific requirement, others want a redirect to the edit view.

Instead of one or even many new options, the following new option can be used here.
All Visforms placeholders can be used in the 'Redirect URL' parameter.
This is much more flexible and at the same time keeps the configuration clear.

The new feature is included in the latest release from June 13, 2024 for Joomla 5:
Visforms 5.1.0
docs.joomla-5.visforms.vi-solutions.de/e...es/j5/version-5-1-0/
Visforms Subscription 5.1.0
docs.joomla-5.visforms.vi-solutions.de/e...5/sub-version-5-1-0/

What the URLs must look like is described in the documentation.
Redirect Options:
docs.joomla-5.visforms.vi-solutions.de/e...orm/redirect-option/

Best regards, 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 :-).

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum