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



May 3, 2011, 9:42 PM
3 Posts

How to enable Combo Box to accept values not in list

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 4
Anyone built a Combo Box interface that also has the Edit Box capability to allow for the input of other values?
 
Is this in Extension Library or a Dojo widget? 
 
 Thanks  
May 4, 2011, 7:29 AM
261 Posts
Re: How to enable Combo Box to accept values not in list
Have a look at the dijit.form.FilteringSelect widget. It's an alternative to a combo box.
 
By default it marks unmatched entries as an error, but it might be possible to disable that and allow values not in list.
 
As an alternative: check out the upload configuration page of Bildr (can be downloaded from OpenNTF). The "album" selection part allows you to select an existing album using a combobox. The combobox also has as entry called "New album" which displays an input field to enter a new album name not in the list already.
May 4, 2011, 5:42 PM
3 Posts
Re: How to enable Combo Box to accept values not in list
Never mind.
 
 can do with the Dojo ComboBox widget ... dijit.form.ComboBox 
Aug 11, 2011, 1:11 PM
8 Posts
Re: How to enable Combo Box to accept values not in list
 Hi Paul,
 
I was wondering how you got the Dojo widget to actually return the value not in list to the NotesDocument.
 
I did the following
  • Add a combobox to the Xpage.
  • Assigned a set of predefined values to the combo.
  • Added the dijit.form.ComboBox to the XPages Resources 
  • Changed to dijit.form.ComboBox. 
Works nice and allows me to enter another value, but on submit the new value is not accepted. Somehow there still is a validation on whether it is in the list. 
 
Thanks in advance for your response.
 
Bas 

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