Skip to main content
stevenm8611492
Known Participant
Nov 23, 2016 1:50 AM UTC
Question

How to Create Drop Down Menu that will populate seperate text box with multi line information of selection

How to Create Drop Down Menu that will populate separate text box with multi line information of selection

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

stevenm8611492
Known Participant
Nov 28, 2016 12:52 AM UTC

I have figured it out, thanks for the helpv

Translate
try67
Community Expert
Community Expert
Nov 23, 2016 6:12 PM UTC

Do you maybe mean that each time a selection is made in the drop-down field it adds a new line to the text field with the selected value?

Translate
stevenm8611492
Known Participant
Nov 24, 2016 2:08 AM UTC

It would Append to the current line with the new selection

Translate
try67
Community Expert
Community Expert
Nov 24, 2016 1:09 PM UTC

In that case you can use something like this as the custom validation script of the drop-down field:

this.getField("Text1").value += event.value + "\r";

Translate
Inspiring
Nov 23, 2016 6:04 PM UTC

What have you tried?

I would use a nested if statement or switch statement to determine the item selected and the populate the text field with the desired text including either the Escaped new line code or the Unicode the carriage return.

Translate