|[CDateTime] Setting a date with days before month [message #1737854]
||Wed, 13 July 2016 14:23
| Massimo Rabbi
Registered: November 2010
just looking for an advice on how to properly handle a use case like the below one.
Suppose I have the following text string in my CDateTime widget "23/02/2017 16.18.48". I want to edit it entering the 30th of March. This is not possible because when I start writing 30, the VerifyListener associated with the widget will say that 30/02/2017 16.18.48 is not a valid date instance and will revert the value to 23. The listener is taking the text for the currently edited field (i.e. days) and when the editing is completed it will try to validate the date.
Is there any way to properly handle this use case?
Powered by FUDForum
. Page generated in 0.01972 seconds