Hello solvex,
I think you are confusing the tools here.
The 'Default value' feature with all the options for setting it, including the option of setting a free SQL statement, is very popular.
It is purely the start value and not the dynamic value depending on the current user input in the form.
Another way to set the default value is 'Default values as URL parameters':
docs.joomla-4.visforms.vi-solutions.de/e...ue-as-url-parameter/
The numerous options for setting the default value are more than exhausted.
What you need, however, is the feature 'SQL fields with option lists':
docs.joomla-4.visforms.vi-solutions.de/e...ds-with-option-list/
This is currently only available for fields with option lists.
I have already created an issue for this based on other forum posts and added it to the development list:
Issue [VF-435] Forum: SQL-Fields: Add two new field types SQL-text and SQL-texarea
After a future release that contains this point, you will now also be informed about it directly here in the topic.
Kind regards, Ingmar