Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Subject: How does one set "" as a combobox default value?
Feedback Type: Question
Product Area: Other
Technical Area: Functionality
Platform: Other
Release: 8.5.1
Reproducible: Always

- I have a combo box that takes values from a document, but it also has legacy data that is not on the document, because it used to be "allow values no in list". I include the document values with a selecItems, and the custom value with selectItem. As long as I use getItemValueString() to set the selectItem everything works fine.

- Except if there is no value, so getItemValueString() returns a null, then it won't set that value as selected, even when the value= attribute on the comboBox is set to the getItemValueString() value. Instead there is no selection, and the browser defaults to showing the first entry in the list. This wouldn't be a problem, except Domino then saves that first value on submit, even when there is not and never has been an actual value in the field.

- Does anyone know how to work around this?

Thanks for your time...


Feedback number DGIE7Y5VRY created by ~Holly Zekhipisonnivu on 11/25/2009

Status: Open
Comments:

How does one set "" as a combobox d... (~James Brewever... 25.Nov.09)
. . What about computing the default va... (~Wei Minluflar 26.Nov.09)
. . . . Clarification? (~James Brewever... 27.Nov.09)
. . for example (~Sanjay Kijipys... 26.Nov.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS