# Enter Multiple Names, 1 is Randomly Chosen

**URL:** <https://forum.kirupa.com/t/enter-multiple-names-1-is-randomly-chosen/273727>\
**Category:** flash\
**Created:** [October 19, 2008, 9:57pm UTC](https://forum.kirupa.com/t/enter-multiple-names-1-is-randomly-chosen/273727 "2008-10-19T21:57:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrock](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@adrock](https://forum.kirupa.com/u/adrock)\
**Post date:** [October 19, 2008, 9:57pm UTC](https://forum.kirupa.com/t/enter-multiple-names-1-is-randomly-chosen/273727/1 "2008-10-19T21:57:37Z")

</div>

I can’t seem to wrap my head around this one. It should be fairly easy, but I am getting hung up on the best way to approach this.

I just want to be able to enter 20 to 100 names, click a button and have one randomly drawn. I am not sure if I should store the names in an array, xml or what. Any ideas would be appreciated.
