I am developing applications targeting many countries and as we know there are many different ways countries handle dates and numbers.
My application uses lot of dates and numbers and these values are highly critical (as always..)
I think it would be very nice feature and saves a lot of work for us dealing with dates and numbers if Alpha would split dates and number into its parts.
We have date and number field in a dialog named "THE_DATE" and "THE_NUMBER"
THE_DATE = 25/12/2014 06:05:15 (DD/mm/yyyy&hh:MM:ss)
THE_NUMBER = 12345.12
When these values are submitted to the server we have something like :
e.dataSubmitted.THE_DATE = 25/12/2014 06:05:15
e.dataSubmitted.THE_NUMBER = 12345.12
it would be very nice if we would also have the values as :
e.dataSubmitted.THE_DATE.YEAR = 2014
e.dataSubmitted.THE_DATE.MONTH = 12
e.dataSubmitted.THE_DATE.DAY = 25
e.dataSubmitted.THE_DATE.HOUR = 6
e.dataSubmitted.THE_DATE.MINUTE = 5
e.dataSubmitted.THE_DATE.SECOND = 15
e.dataSubmitted.THE_NUMBER.NUMBER = 12345
e.dataSubmitted.THE_NUMBER.FRACTION = 12
And in the onDialogInitialize we could also set the values like :
e.control.THE_DATE.YEAR = 2014
e.control.THE_DATE.MONTH = 12
e.control.THE_DATE.DAY = 25
e.control.THE_DATE.HOUR = 6
e.control.THE_DATE.MINUTE = 5
e.control.THE_DATE.SECOND = 15
e.control.THE_NUMBER.NUMBER = 12345
e.control.THE_NUMBER.FRACTION = 12
Just a thought...