Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Form submission to server without reloading the whole page

$
0
0

Hello.

How can I go about submitting data in an HTML form to Flask for server-side processing without reloading the entire page?

My button:

dbc.Button('Send', id='send', color='success', type='submit')

My form:
dbc.Form([input_form], id='input_form', action='/post', method='POST', prevent_default_on_submit=False)

If I use prevent_default_on_submit=True, then no submission happens.

I am using dash-bootstrap-components if this is relevant for the question.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images