Avatar

Correct answer by
Level 5

Not sure what the code is suppose to do, but you basically want to add the name from the dropdown appending onto the current value of the textfield? Why not use the dropdownlist display value directly? For example on the change event :

if ( TextField1.rawValue == null )

    TextField1.rawValue = xfa.event.newText;

else

    TextField1.rawValue += ( "\n" + xfa.event.newText );

View solution in original post