T
T
tank0072019-11-05 19:47:23
Django
tank007, 2019-11-05 19:47:23

How to set dynamic change of values ​​in a select box?

Good afternoon. Please tell me how can I implement the following behavior for django.
For example, there are two fields on the page. The first field, drop-down list, in the list the following values: "Cars, trucks, buses". If you select "Cars", then in the second field the following values ​​\u200b\u200b"Vaz, Gas, Uaz" become available, if you select "Trucks" in the first field, then only "Kamaz, Belaz" will be available in the second field. Is this possible in django?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yura Khlyan, 2019-11-05
@MAGistr_MTM

Google Django linked select

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question