FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



Oct 12, 2017, 2:39 PM
69 Posts

how do you get a date picker to allow multi-values?

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: date picker
  • Replies: 1

You can add a field on an xPage and tell it to format as a date, and even display a date picker.  You can add a multiple separator value.  But how do you get that date picker to accept multiple values?  The only way I've found is to type in dates manually, with separators.  This won't fly for our users.  I need to be able to display a calendar, and let the users select as many dates as they wish.  Is this possible on an xPage?

May 22, 2018, 8:59 AM
14 Posts
Push to a display field

You have a field for multiple dates. Have another to input those dates. Once a date has been entered, copy/move it to the multi-value field.

There is a control that displays the values with an "x" if they want to remove them. The users will think it's a single field, as they don't care how the action happens.


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.