Hello giamod,
I'm sorry, but I forgot the obligatory single quotes for string literals.
I was so focused on choosing the wrong field.
The text field values are string literals and must be enclosed in single quotes:
... = '${input:nume}' ...
This SQL statement is now at least completely correct and looks very promising.
Code:
select CONCAT(F37, ' ', F108, ' ',F55) as label, id as value from #__visforms_3 where F37 = '${input:nume}';
Maybe it will work now...
When developing SQL statements, a good development environment is important.
Even for tasks that seem simple, like this.
Visforms obviously cannot be a competent development environment at this point.
But we can point out this fact in the documentation and recommend working methods.
Modern text editor or development environment:
docs.joomla-5.visforms.vi-solutions.de/e...elopment-environment
Quote:
We recommend that you write the SQL statement in a good modern text editor or, better still, in a dedicated development environment and test it thoroughly. It is also possible to develop and test the SQL statement in a MySql console, for example.
Quote:
When using the test button for the SQL statement, you must take this fact into account and work with fixed values instead of placeholders.
Best regards, Ingmar