Need for a advanced st.form supporting interdependent components

Recently I’m using streamlit to build a page to fill long form with most components independent, and may need some interdependent components in the form.

Now there’re 2 solutions: all using interdependent with long refreshing time; or multiple forms with multiple submit buttons leading to complex operations.

So I’m wondering is there any possibility for an advanced form to support setting some of the components in form interdependent?