on 05-26-2014 12:19 PM
Hi Experts,
I designed a form in WD and have a requirement, where I need to show up a calendar display of months in which an user should be allowed to select only non-consecutive days from it.
Also I need to get all those selected days at run-time.
Is it possible?? I know that calendar is a standard input of date UI element and totally confused as how I can restrict an user to select only non-consecutive days.
Please clarify and help me in this.
BR,
RAM.
Hi,
Use DateNavigator UI element. You cannot disable the consecutive days, but you can use the event onDaySelect and display an error if the selected dates are consecutive.
hope this helps,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RAM,
I don't think there is provision to select the multiple different dates except the dates in range. The ui element date navigator has only option to have start date and end date for selection type: RANGE.
Even onDaySelect event, gives you the selected date and you can raise error message saying:"Please select only non consecutive dates", but you can not set the different dates as selected in the DATE NAVIGATOR ui element.
i.e. User is having either to choose a date or dates in a range.
Regards,
Rama
Hi RAM,
Unfortunately, with the date navigator ui element, we cannot select multiple dates except the date ranges.
Work around solution:
I suggest you to go for row repeater, in which you can place date navigator ui element and user can add multiple rows: also you he can input dates by selecting single dates.
Here you can also restrict the user to select only non-consecutive dates.
Pls refer the wiki for an example:
steps to create row repeater ui element - Web Dynpro ABAP - SCN Wiki
Try to convince the user with this or you can also for a table with single row.
Hope this helps you.
Regards,
Rama
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.