I want a system where a user selects from multiple lists via a dropdown menu, and the program outputs a random element from the chosen list.

  • perchance@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    Here’s a simple example: https://perchance.org/drop-down-list-example#edit

    (For future reference, there are actually a lot of example generators built and so if you type “drop down selector to choose list perchance” into google, the above link is the first result :) Also, if you wouldn’t mind, please edit your post’s title to be a summary of your question - that way it’s more easily findable via Google, which helps others who happen to type their question in a similar way that you summarized it, and so reduces the need for people on this forum to answer lots of duplicate questions. Thanks!)

    Also, as a bonus: Here’s an example where multiple drop-downs are used to select a list + sub-list/item: https://perchance.org/multiple-drop-down-lists-example#edit