form inside a form flask code example Example: flask identify different forms on same page if 'my_form_element_name' in request.form: print ('stuff')