Hi,
is it possible to set a default value with Lotus Script in a combo box?
I have a Script that puts a list in a combo box and sets a default value. In a dialog list the default value is shown. In a combo box not.
Thank you very much in advance for your help.
Greetings
Raul
Subject: RE: Default value in ComboBox
Dialog lists will display values that aren’t in the list of choices. Comboboxes won’t – that’s just the way they are defined. You need to make sure your default value is in the list of choices.
Subject: Default value in ComboBox
In the actual field properties, set the default value to the combobox field’s name. Then in the script, set your default value - NotesDocument.FieldName = defaultValue.
Subject: RE: Default value in ComboBox
Hi Andre, hi Esther,
thank you very much for your help.
I payed attention to both of your recommendations. The default value is displayed in the combobox only, when I choose the option “Allow values not in list” in the field properties.
It is really strange. Perhaps it is a bug in the version 7.02.
Greetings
Raul