How to insert dependent (chained) field into db
How to insert dependent (chained) field into db
vladimirijus
Posts: 16Questions: 4Answers: 1
in Editor
I have tried to create dependent country-city fields using editor 1.5.5 version. After country is selected cities list have been populated, but it is not possible to record city value into db.
Live example is here: http://backend.front.rs/chained_select.php
Chained select was working before in older versions of editor.
Vladimir
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I have found the solution for this problem.
Example of success part from ajax should be like this:
results returned from server:
Thank you vladimirijus,
I was exactly looking for this.
could you please share the content of ajax_select_options.php
Hi,
@edanyildiz here is an example of function which I use in my php class. hope this will helps you.