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



Aug 11, 2011, 1:28 PM
8 Posts
topic has been resolvedResolved

dijit.form.Combobox and accept value not in values

  • Category: Other
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags: dojo,combobox,values not in list
  • Replies: 3
 Hi all,
 
I have an XPage with a repeat control with a custom control to display a form for a set of documents. On the form is a Combobox control. 
 
I would like the combobox to behave like the Notes client equivalent and "allow values not in list". 
 
I tried the dijit.form.ComboBox, but the value isn't written to the NotesDocument if a user enters a value that is not in the list manually.
 
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. 
Many thanks in advance for any tips. 
 
Bas 
 
Aug 11, 2011, 2:51 PM
64 Posts
We used a normal input field...
 - Instead of putting a combo box XPage control in, put a normal text input box and apply dijit.form.ComboBox to that.
 
Hope this helps...
Aug 11, 2011, 6:24 PM
129 Posts
Re: dijit.form.Combobox and accept value not in values
Take a look at this page/read the comments.
 
http://www.juliusbuss.de/web/youatnotes/blog-jb.nsf/dx/dijit.form.combobox-in-8.5.1-without-extension-library-problems-solved.htm?opendocument&comments 
Aug 15, 2011, 11:48 AM
8 Posts
Re: dijit.form.Combobox and accept value not in values
 Hi Tommy,
 
I ended up installing the Extension Library and adding a djCombobox. But tried your code afterwards and works great. Prefer this option not having to rely on the ExtLib. 
 
Thanks! 
 
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