Graphics

 View Only
  • 1.  Dynamic combo boxes

    Posted 12-09-2020 23:37

    I am trying to think if there is a way to make a FS sports graphic easier to fill out. I would like to have a field with a combo where you could choose the sports league (NBA, NFL, MLB, etc). Based on that choice, I want to dynamically populate another combobox with the teams from that league. Any ideas?



  • 2.  RE: Dynamic combo boxes

    Posted 12-17-2020 20:06

    I have a lottery template that basically does what you're describing.  I created a set of Global Lists for each state in our group.  I then created a text box with a static list and entered the names of my Global Lists as the selectable values:

    I created a second text box with a Global List data source and entered the name of the first text box as the source using the @TextObject@ macro.  My first text box was named "State Lotto" so the value that I entered was @State Lotto@

    Now when the state is selected in Sequence, the list of games available changes in the second dropdown.  

    So in a nutshell the first textbox contains the names of global lists (in your case NBA, NFL, etc.), and the second text box fills in its values based on the global list selected in the first.  Hope this helps!


    #XPression


  • 3.  RE: Dynamic combo boxes

    Posted 12-17-2020 22:59

    John,
    That looks exactly like what I want. Thank you, I will take a closer look and give it a try!


    #XPression


  • 4.  RE: Dynamic combo boxes

    Posted 12-18-2020 00:40

    That worked - thank you again for the suggestion.


    #XPression


  • 5.  RE: Dynamic combo boxes

    Posted 12-18-2020 13:24

    Excellent!  You're quite welcome.  Glad to help :-)


    #XPression