Author |
Message |
07/10/2014 15:36:25
|
pkuehn
Active
Joined: 13/03/2014 13:34:45
Messages: 6
Offline
|
Hi,
is it possible to discard the user input if it doesnt fit the format of the calendarfield?
We have calendar fields with formats like ddmmyyyy, so we need that if user inputs 240910 the input will be discarded, because it doesnt fits the format. Our requirement is that the user input the full date and when the user inputs only 10 for year instead of 2010 then the input shouldn't be accepted.
regards
Paul
|
|
|
08/10/2014 08:12:57
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
well: it is not possible right now - the input of "short formats" is a part of the CALENDARFIELD... Before I think about changes: I do not yet understand the scenario: you want the user to define a date - and that's what is passed into your application. If the date is input by short/long-keyboard input, by date popup selection or how ever - why is this relevant for the processing?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
08/10/2014 10:43:04
|
pkuehn
Active
Joined: 13/03/2014 13:34:45
Messages: 6
Offline
|
Hi,
we use calendar fields for date input. So the user can input the date by opening a calendar popup (which works fine) and by writing the date directly in the calendar field (which cause problems for us).
By writing the date for a birthdate calendar field like "101080" the user means that the birthdate is "10101980" and not "10102080", which will send to our application.
Also if user searches for persons in our application he can search with birthdate, which cause again troubles if the user dont write full date (4 digits for year).
Therefore we have to prevent the user from writing down of a short form of date (ddmmyy) and acept only the date of format ddmmyyyy. Otherwise discarding the written input of calendar field.
regards,
Paul
|
|
|
09/10/2014 10:35:14
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...OK. I see the problem. Will work on a solution: should be available not in the next update, but in the second next (1 1/2 weeks). If you require it more urgent then please contact me.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
09/10/2014 11:48:02
|
pkuehn
Active
Joined: 13/03/2014 13:34:45
Messages: 6
Offline
|
The date ist good. Thank you for support.
regards,
Paul
|
|
|
13/10/2014 12:01:20
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
...with 20141013 there is a new attribute FORMATTEDFIELD/CALENDARFIELD-AVOIDSHORTCUTYY that you have to set to "true".
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|