Using Variables to add to drop-down selection

nwilliams3743
nwilliams3743 Community Member Posts: 74
Is it possible to add options to a drop down while within a sesion?

In my case, the learner has to enter two phone numbers earlier in the module.

Later in that module, there is a drop-down where they will need to select from those two numbers in a drop down. The numbers will be user defined. (I know that I can have these two numbers appear with radio buttons next to them to select, however the way this needs to be designed is a drop down...)

Help?

Comments

  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    You could use a tiny bit of JavaScript to replace default values in the dropdown with variable content.
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    You should be able to store and display the values they insert into their drop downs and then share them later in the course.  I think in line variable replacement should work for displaying either value. Let me confirm with the support or product team or create an example.  I like the concept and I'm curious to see it built out.