• Koto
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 days ago

    https://perchance.org/hm20ndlb7m Not sure if you meant like this, a dropdown to choose from the list of genres. In perchance lists, the correct syntax to choose one is [list.selectOne] to choose one. You can assign it to a variable that you can later use, for example:[selectedGenre=genre.selectOne].

  • VioneTM
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 days ago

    What you can do is this:

    // Lists Editor
    movieTitlePrompt
      instruction = Make a title for a [g = genre.selectOne] movie with a length of [l = length.selectOne] and an age rating of [ar = ageRating.selectOne]. Only include the title, nothing else. No subtitle.
    
    title
      [ai(movieTitlePrompt)]
    // ---
    // HTML
    <p>Title: [title]</p>
    <p>Genre: [g]</p>
    <p>Length: [l]</p>
    <p>Rating: [ar]</p>