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.

SQL

More
4 years 2 months ago #6526 by av_74
SQL was created by av_74
Hello
I would like to fill in a Select field using an SQL query: SELECT * FROM `aspt_visforms_1`
But I can't find where to put this request

Thank you for your help

Visforms Subscription Visform 3.12.10

More
4 years 2 months ago #6528 by Administrator AV
Replied by Administrator AV on topic SQL
Hi,

the fields that can create options form sql-Statements (listboxsql, radiosql and multicheckboxsql) where added to visForms 3.13.x/subscription 3.4.x, which are currently available as beta versions.
You have to update to visForms 3.13.9 and Subscription 3.4.7, if you want to use this feature.
As we do not distribute beta versions via Joomla! update manager, you have to download the installation packages from the downloads menu manually.

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

More
4 years 2 months ago #6530 by av_74
Replied by av_74 on topic SQL
Thank you the SQL fields appear now
When I test the request I have: success: found 10 entries
but they do not appear in the Select field of the form

More
4 years 2 months ago - 4 years 2 months ago #6531 by Administrator AV
Replied by Administrator AV on topic SQL
Hi,
if you use the sql statement
SELECT * FROM `aspt_visforms_1`
this can obviously not work.
Which information from this * should be use in the option list?

As stated in the documentation ( www.vi-solutions.de/en/documentations/do...m-database-using-sql ), which I would like you study carefully, "The SQL statement must return a value and a label"!

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 :-).
Last edit: 4 years 2 months ago by Administrator AV.

More
4 years 2 months ago #6532 by av_74
Replied by av_74 on topic SQL
sorry I forgot to specify the field
SELECT `F1` FROM `aspt_visforms_1` WHERE 1
but it doesn't work :(

More
4 years 2 months ago #6533 by Administrator AV
Replied by Administrator AV on topic SQL
Hi,

please check out the documentation. "The SQL statement must return a value and a label"!
Your sql-Statement is still not correct. It cannot work with regards to creating listbox options.

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

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum