How to Set default to current_id_user

antmall

New member
DaDaBIK version 11.8-Elba platinum
System info
PHP Version: 7.4.10
mysql version: 5.5.5-10.2.31-MariaDB-log
Web server: Microsoft-IIS/8.0
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

What is the proper syntax to set set default value in the Forms configurator to use the current_Id_user?

Thanks
Bruce
 

antmall

New member
I figured out my issue. In the Forms Configurator, if you switch the "Field Type" between ID_user and Select_Single, previously set values such "Default Value" and "Lookup table Name" are not cleared or reset. Though those properties settings may no longer apply to the current field type, having values in those fields can cause problems. In my case, I was struggling to get the current_id_user to insert in a record on detail form.
 
Top