I am using flask from python but don't worry, my problem is not about that. Below I will put the input and submit button and where in url_for it says "username=" I need the value of the input above it.
Code:
<h4>Search for user: </h4><input type="search" name="usersearch" class="navbar-nav ml-20">
<input type="submit" value="Search" href="{{ url_for('search', username=) }}">
Last edited: