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.

Having trouble using sql

Mehr
5 Jahre 3 Monate her #6308 von Tomy
Having trouble using sql wurde erstellt von Tomy
Dear Vis Forms Users.

I am having trouble using selectsql to use the data of another form as a starting point for the next form.

I am just lost how to use and where to use it with what commands.I have been reading this article over and over and i just cannot seem to understand how to connect it.

Selectsql

Help.

Is there a code line i need to write? and paste it somewhere? I'm clueless.

Thanks

Tom

Mehr
5 Jahre 3 Monate her #6309 von Administrator AV
Administrator AV antwortete auf Having trouble using sql
Hi Tomy,

you have to create a field of type sql select.

Then you will see a field option "sql" on the right side of the field configuration in the administration (it is a small textarea, which you can pull bigger with your mouse).
This is, where you have to enter your sql-Statement.

In the field administration you cannot see which select options are created by this statement.
The listbox options are only visible in the frontend! Maybe that is, what confuses you.

Sadly, if the sql statement is not valid or does not return any data, you will not see any listbox options in the frontend, too. This is difficult to debug. Therefore I very strongly recommend, to start with simple sql statements and to develop and test the sql statement with another tool (like the sql command line of an IDE)

This feature is very powerfull but on the other hand if you want to use it with success you should be familiar with working with mysql and using database tools.

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
5 Jahre 2 Monate her #6325 von Tomy
Tomy antwortete auf Having trouble using sql
Dear Aicha,

Thank you for your reply. Finally! I have found the issue and now have found the selectsql i was looking for.

Now I need to learn how to make the correct sql statements. Please direct me in the direction to learn how to write sql statements and provide me with an example.

If it would be possible would you mind giving me an example of an sql statement with the following needs:

I need to make a field using selectsql for the data from Formid=1 Fieldid=1.

So that I know what I am looking for,

I am making a simple select data field so it would be a great help if I can be pointed in the right direction where i can learn and an example I can test. My need is trying out simple selectsql s and get more complex later. Just because its a beta version i don't really want to make too many trial and error attempts as i don't want to wreck the code.

Thank you

Tom

Mehr
5 Jahre 2 Monate her #6326 von Tomy
Tomy antwortete auf Having trouble using sql
Sorry! Found something online! I will have a crack at it! When i'm stuck i'll come back to you.

Thank you!!!

Moderatoren: Administrator AVAdministrator IV
Powered by Kunena Forum