T
T
tychinin28032020-07-22 18:45:27
JavaScript
tychinin2803, 2020-07-22 18:45:27

How to update forms dynamically with Flask?

Good afternoon. There is a form with set select. The first select should affect the second, and so on. How, when choosing a value in the first select, automatically change the available values ​​in the second? On pure Flask.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-07-22
@tychinin2803

It is necessary to write on the front in javascript handlers for changing the values ​​of selects that make ajax requests to the backend and fill the selects with the results of the responses, and on the backend write ajax request handlers that return the necessary data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question