Forum Discussion

irvenLim's avatar
irvenLim
Community Member
5 years ago

Text entry, drop down and select sequence

Hi there, 

I'm using SL3 and I want to create a country list.

When the user type their country name, a drop down list of the country list will appear and finally they will select their country.

I have gone through some of the Q&A in the discussion group. Only discuss on drop down list but never talk about the above sequence. 

How can I do it?

 

  • irvenLim's avatar
    irvenLim
    Community Member

    hi jeff,

    Thanks for the reply.

    Not exactly what I wanted. This is a drop down, which i have found on the discussion.

    Before the drop down, I want to type say 'Italy'. The moment I type the letter "I", a list of countries with the letter "I" being listed - e.g Iceland, Italy, Ireland etc. Then I will scroll to 'Italy' and select. 

     

    • JeffForrer's avatar
      JeffForrer
      Community Member

      Ok, I set it up if you type "i", Italy shows up, or the letter for each country will do the same, so it is more of a drop down combo.  I didn't add more I countries but you could add as many as you need. 

    • irvenLim's avatar
      irvenLim
      Community Member

      Hi Jeff,

      Great...this is what I'm looking for.

      How do you do it?

  • JeffForrer's avatar
    JeffForrer
    Community Member

    Have to head out for the day, here is the file. 

    Lmk if you have questions, I will try to respond later today on my return. 

    1. All options are in layers on a text field (dd_1 1) as part of a group on the main timeline.  You would need to put all your countries in there and name them so you can refer to them from the timeline.
    2. Triggers on the main timeline change the state of the field which shows the country you want based on a keypress.
    3. The "change" layer makes it so the text field resets after an entry.

    I was working on getting up/down arrows to work as well.  It is a work in progress, but hopefully you can adapt it for what you need.

     

    Good luck.

  • irvenLim's avatar
    irvenLim
    Community Member

    hi jeff,

    I can't open your file, I'm using SL3 not 360....8-(

    • JeffForrer's avatar
      JeffForrer
      Community Member

      Hello, sorry about that, you should be able to open it, I resaved from SL3, lmk if you can open it.

  • Hi team, this discussion looks like a great start - has anyone built this with a full list of countries that they can share? Or would it be easier to embed a web object?