ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

How to load data into a dropbox

rslyra 15 Feb, 2020
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.
healyhatman 16 Feb, 2020
Did you set return type to "an array of key/value pairs" ?
rslyra 16 Feb, 2020
Oohh. No, I didn't.

Thanks, now is working fine.


Once more, thanks
rslyra 16 Feb, 2020
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?
rslyra 16 Feb, 2020
Simple.

Yes, just like that.

Thanks again.
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com