< Back

Document Subject: Cannot change multivalue display option to Newline
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#MultiValueNewLine or http://A555F9/nn.nsf/ByAlias/MultiValueNewLine

An annoying problem in lotus notes is the fact that when you want to use dialog list field with multiple values you cannot change the display separate valeus with option to newline.




One way around this annoyance is to create a fake button and set the field to be a text field.

In the fake pull down button you can create code that simulates a dialog list.

eg:

@If(@IsDocBeingEdited=0;@Return("");"");

r:=@Prompt([OKCANCELLISTMULT];"Pick members:";"Pick:";
 TeamAMembers;
 @Trim(@Name([Abbreviate];TeamMembers));
FIELD TeamAMembers:=r;
""

The code above allows the user to pick sub team members from a list stored in  the field TeamMembers and store in a field TeamAMembers.

The field next to it will be "TeamAMembers".

You can make the field computed to TeamAMembers or make it editable and default to "".

If you make it computed you can put the Action Hotspot around the field and the button to

make the user interface clickable area bigger.

If you make it computed but prefer to see the field delimiters you can add fake field delimiters.