Forums

simple dynamic dropdown

cyber81 25 Sep, 2018
Good morning, i know that is a hot topic🙂 and I have read the FAQ but my dropdown don't Work !!!
Where is my mistake?
​
My setup:

​
My design
​

​
My setup conf
​

My dropdown conf:
​

​
The dropdown is empty...😟 I used {var:read_data5.cognome} too !😟
​
Help me!
GreyHead 25 Sep, 2018
Hi cyber81,
​
Sorry, but I can't read anything useful in any of your images.
​
Bob
healyhatman 25 Sep, 2018
Put a debug action in at the end of your load action. to help make sure you actually have something in that read_data
cyber81 25 Sep, 2018
Array
(
    [format] => html
    [Itemid] => 1038
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [read_data5] => Array
        (
            [log] => Array
                (
                    [0] => SELECT `data5`.`aid` AS `data5.aid`, `data5`.`cognome` AS `data5.cognome` FROM `ifr76_chronoforms_6_data_asti-inserimentolavoratore` AS `data5` LIMIT 100;
                )

            [var] => Array
                (
                    [9] => Forte
                    [13] => Pallino
                )

        )

)
cyber81 25 Sep, 2018
Now i want that data5.cognome (in this case Forte e Pallino) will be listed in dropdown..
At the dropdown conf I have put in Option {var:read_data5.cognome}
cyber81 25 Sep, 2018
I resolved it; on setup the "read data" must be put before display....
This topic is locked and no more replies can be posted.