First time poster here - please be gentle (Yes, I have searched and read 'til my eyes bled)
OK, I have a table with company info.
I open the page with the dynamic form with companyId as parameter, and it appears in a text/hidden field with short name companyId. So far so good.
Now, for the rest of the fields in the form, I want to populate the default values with data from the company table, using this companyId as key.
So for the Company Name field (below the companyId field), I tried using the SQL driven Default Value option with
SELECT CompanyName AS DefaultValue FROM Companies WHERE CompanyId=$(companyId)
Obviously(?), that didn't work.
Any hints and/or pointer how to do this simple task? Where should I start reading?
Cheers!