Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

A List Box & Text Field Combo. Does it allow more than one choice?

Arnold_L
Level 3
Level 3
Hi,



I have ListBox1 & TextField1.

Does anyone know the javascript which allows more than one choice to populate into the TextField1 ?



Example:



ListBox1:

Dog

Cat

Mouse



I choose all three and



TextField1: (shows)

Dog

Cat

Mouse



Right now it only shows one at a time.



Thank you for any help.

Arnold Love
2 Replies
pguerett
Level 10
Level 10
Just tried it here. On the exit event of the ListBox I used this javascript:



TextField1.rawValue = this.rawValue



The selected values will come out with carriage returns at the end. Make sure teh textfield is set for multi-line.