What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Getting the value of an html input for a submit button

Sheepposu

New member
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:
Back
Top