'How to redirect to an another route when the user select a rate from a select tag
I'm working on a simple web app using flask and I added a simple rating system using the select tag. My question is how I go to another route once the user select a number from the dropdown menu and also know which number they choosed.
<label class="custom-select">
Give your rate
<select class="custom-select"
style="width:200px;" id="example">
<option value="1">1</option>
<option value="2">2</option> <option
value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</label>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
