from werkzeug.datastructures import ImmutableOrderedMultiDict


class OrderedRequest(Request):
    parameter_storage_class = ImmutableOrderedMultiDict
app = Flask(__name__)
app.request_class = OrderedRequest
How to get the Jinja2 generated input value data?