dynamic dropdown

How to create a dynamic dropdown form in ChronoForms.

Overview

The user needed to build a form with dependent dropdowns that populate based on previous selections, similar to a demo example.
Follow the official FAQ guide to build the dropdown structure, then ensure the code correctly passes the selected value to query the database for subsequent fields.

Answered
na nadia72 02 Jan, 2014
Hi,
I'm a newbie and it's first time that I use this component for Joomla.
I've a problem ( it's not real , many problem ) but I'd like to ask u if it's possible to download an example of dynamic dropdown to start and customise form.

I'd like to end like this form ( http://www.france-fermetures.fr/fr/contact.php ) , sure it's impossible for me , but I'll try ( if you help me eheheh )

Thanks and kisses
Nadia
( sorry for my bad english )
Gr GreyHead 02 Jan, 2014
Salut Nadi,

You can create a form that works like that using hand-coded JavaScript - there's quite a lot of work needed though. But I don't see a double-drop-down in that form :-(

Bob
es esl 05 Mar, 2014
I went through the tutorial and got my dropdown to populate correctly, but for som reason I cant find a way to extract the value of the selected field. for example :
I have a dropdown with a category > once selected it loads "subject" in the 2nd dropdown, but once I select a subject I want it to pass the "message" tied to that subject to the next step.... What I thought would work is to have a DB loader in the next step that queries the DB based on the "subject" but for some reason when I select any "subject" it only pulls in the "message" of the first record in the DB....what am i doing wrong?
es esl 05 Mar, 2014
Answer
actually I figured it out, I was over seeing something in the code!
This topic is locked and no more replies can be posted.