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!

Prepopulate second dynamic dropdown

Pigna 07 Feb, 2018
Hi!

I've a form with two dynamic dropdown. Drop1 is prepopulated with {var:read_data4}. Drop2 is empty, when the user select a value of drop1 it is populated by a reload event with the value of {var:read_data5}. Everything is ok.

Now i need to prepopulate drop2 with all values when form is loaded. I can made another read (es: read_data6) and put {var:read_data6} in the "Options" field of the dropdown instead of read_data5, but so the reload event will not work anymore.

Any idea? Thank you!
Max_admin 08 Feb, 2018
Answer
1 Likes
Hi Pigna,

Leave {var:read_data5} in the options of drop2, but add after it {var:read_data6}, this will run both of them.

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Pigna 08 Feb, 2018
1 Likes
Yes, now everything works!

Thank you Max!
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