Hi!
I need your help a second time!
I have a dropdown. This dropdown is made with a costum code. When the site is on load, the dropdown retrieves data from a mysql database and shows the results in the list. Further in the costum code is defined, what elements are shown next, when a assigned value from the dropdown is chosen. So this is what my first dropdown does.
Now the my problem:
I want a second (perhaps still more) dropdown, which depends on the selected value of the first dropdown. When a value of the first dropdown is chosen, i want to pick this value, to fill it in a sql query for the database query for the second dropdown.
For example: In the first dropdown the value "City" is chosen. Then i want a second dropdown, whose values i get with the sql query "select * from City".
By looking for a solution for this problem, i found out, that this can be handled with Ajax and JQuery. But i ask myself, if there is a more simple solution with chronoforms, because i haven't any experience with Ajax or JQuery.
I would be very grateful, when someone can help me with that!
Regards!
I need your help a second time!
I have a dropdown. This dropdown is made with a costum code. When the site is on load, the dropdown retrieves data from a mysql database and shows the results in the list. Further in the costum code is defined, what elements are shown next, when a assigned value from the dropdown is chosen. So this is what my first dropdown does.
Now the my problem:
I want a second (perhaps still more) dropdown, which depends on the selected value of the first dropdown. When a value of the first dropdown is chosen, i want to pick this value, to fill it in a sql query for the database query for the second dropdown.
For example: In the first dropdown the value "City" is chosen. Then i want a second dropdown, whose values i get with the sql query "select * from City".
By looking for a solution for this problem, i found out, that this can be handled with Ajax and JQuery. But i ask myself, if there is a more simple solution with chronoforms, because i haven't any experience with Ajax or JQuery.
I would be very grateful, when someone can help me with that!
Regards!