Skip to main content
stevenm8611492
Known Participant
November 23, 2016
Question

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

  • November 23, 2016
  • 3 replies
  • 757 views

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

This topic has been closed for replies.

3 replies

stevenm8611492
Known Participant
November 28, 2016

I have figured it out, thanks for the helpv

try67
Community Expert
Community Expert
November 23, 2016

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?

stevenm8611492
Known Participant
November 24, 2016

It would Append to the current line with the new selection

try67
Community Expert
Community Expert
November 24, 2016

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";

Inspiring
November 23, 2016

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.