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!

Dropdown, white filed

cyber81 30 Jul, 2018
Hi boys, I read https://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5287-dynamic-dropdown-options How To and when I debug forms in effect the system read table:
​[pre][var] => Array
([br] [Forte] => Forte[br] [Pallino] => Pallino[br] )[/pre]
Senzanome.jpg
But the dropdown do not work (white choice).

Senzanome.jpg
I tried {var:read_data4} too
[br]Anyone can help me?
healyhatman 30 Jul, 2018
Is your read_data returning the correct type, in this case "An array of key/value pairs" ?
cyber81 30 Jul, 2018
Senzanome.jpg

On load event !
cyber81 30 Jul, 2018
Array
(
    [format] => html
    [Itemid] => 1033
    [option] => com_chronoforms6
    [view] => form
)
Array
(
    [read_data4] => Array
        (
            [log] => Array
                (
                    [0] => SELECT COUNT(`data4`.`aid`) AS `data4.count` FROM `ifr76_chronoforms_6_data_asti-inserimentolavoratore` AS `data4`;
                    [1] => SELECT `data4`.`aid` AS `data4.aid`, `data4`.`cognome` AS `data4.cognome` FROM `ifr76_chronoforms_6_data_asti-inserimentolavoratore` AS `data4` LIMIT 100;
                )

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

        )

)
healyhatman 30 Jul, 2018
Defonitely should be {var:read_data4}
Make sure the read data is before the section load
cyber81 30 Jul, 2018
don't work😟
healyhatman 30 Jul, 2018
Well of course not you have it in a seperate event for some reason

Drag it into the top of the load event.
cyber81 30 Jul, 2018
thank you very much.. now it works!
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