how to stop multiple forms submitting on the same page flask request.method=='POST' code example
Example: flask identify different forms on same page
if 'my_form_element_name' in request.form:
print ('stuff')
if 'my_form_element_name' in request.form:
print ('stuff')