I need to fill the dropbox options with data from a table.
I read data from the table using a Read Data block, read_pai. The model name is dtpai. Retrieve org_id and org_name.
But what should I put in the checkbox options to use this data?
The form loaded the data, but does not show it in the dropbox.
I tried:
{var:read_pai.dtpai.org_id}={var:read_pai.dtpai.org_nome}
{var:read_pai.dtpai}
{var:read_pai}
Thanks all.
I read data from the table using a Read Data block, read_pai. The model name is dtpai. Retrieve org_id and org_name.
But what should I put in the checkbox options to use this data?
The form loaded the data, but does not show it in the dropbox.
I tried:
{var:read_pai.dtpai.org_id}={var:read_pai.dtpai.org_nome}
{var:read_pai.dtpai}
{var:read_pai}
Thanks all.
Did you set return type to "an array of key/value pairs" ?
Hi, it's me again.
One more thing.
I have a list of departments, to fill with the senior departament.
Like this:
1= Departament XX
2= Departament VVV
3= Departament ZZZ
]
But I need to insert a line to define the TOPs departments. Like this:
0=Top department
How I can do that?
One more thing.
I have a list of departments, to fill with the senior departament.
Like this:
1= Departament XX
2= Departament VVV
3= Departament ZZZ
]
But I need to insert a line to define the TOPs departments. Like this:
0=Top department
How I can do that?
Exactly like that
This topic is locked and no more replies can be posted.