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



Mar 28, 2011, 8:15 PM
5 Posts
topic has been resolvedResolved

multipleSeparator and Validation

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: multipleSeparator,multipleTrim,validation
  • Replies: 1
In an edit box control, I've selected the comma as the multipleSeparator and set the attribute multipleTrim = true.  This field is also required.  When I go to test the form, having selected an entry for the multi-value field, a comma is automatically appended to the selected value.  However when I click Submit, the validation fails as if there's no value in the field because of the trailing comma.  If I remove trailing comma, the validation passes.  I don't want the user to have to remove the comma.  Is there an easy way to remove, empty values caused by the user or by the inherent design of XPages, without having to write code to strip them out before validation?
Apr 13, 2011, 6:16 PM
5 Posts
Re: multipleSeparator and Validation
In the 'onblur' event of the field, I grabbed the input and stripped out the trailing comma.

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