Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generating dynamic dropdown list
#1
Hi!
I am new to Flask and am trying to make a webpage with a multiselect dropdown menu which has an option to add more items by the user if it does not already exist in the dropdown.

Making a multiselect dropdown is straight forward, but I've been stumped in trying to make it accept user input as well. Please guide me to a solution.

Thanks!
Reply
#2
I'm now doing this based on a suggestion from another thread in this group, but I'm stumped by the grammar of that final line. It objected to the use of "row" alone in the annex. The result of the fetchall is a tuple.
Larz60+ write Aug-30-2023, 09:56 AM:
spam content removed
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Selenium (Dropdown-) data Robin_at_Cantelli 2 7,182 Dec-29-2021, 03:16 AM
Last Post: ondreweil
  Selenium Python for Dropdown not working gj31980 1 4,519 Oct-27-2020, 02:02 AM
Last Post: gj31980
  Getting a list in dynamic page probottpric 1 2,479 Oct-12-2020, 01:11 AM
Last Post: Larz60+
  Dropdown interact moisesfelipee 0 2,283 May-04-2020, 01:11 AM
Last Post: moisesfelipee
  While loop skips multiple dropdown menu options and then works as intended newbie_programmer 1 3,715 Dec-23-2019, 10:26 PM
Last Post: keuninkske
  How can i scrape dropdown value ? caca 0 3,816 Nov-03-2019, 11:24 PM
Last Post: caca
  Python Flask Dependent Dropdown Anfaa 3 21,111 Oct-24-2018, 09:35 PM
Last Post: nilamo
  Click dropdown menu option with Selenium PyChrome AcszE 3 7,583 Oct-26-2017, 10:07 PM
Last Post: metulburr
  Create Dictionary List (From a webpage dropdown) for Comparison to a CSV File Guttmann 5 7,421 Mar-31-2017, 01:29 AM
Last Post: Guttmann

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020