* user enters the beginning of a date in a date field * user presses Tab to switch to the next field * without server access, the date is completed if the beggining is valid, and the layout is applied if applicable. Example, a field with Date data type, and DIS(dd/mm/yyyy) in layout : * user enters 15, then presses Tab * the field's content is changed to 15/02/2011 (current month and year) * user enters 32, then presses Tab * a validation error occurs, and focus is kept by the complaiging field
Date and time are precise entries, so validating them as soon as possible is essential. For now, to have a validation on the field, the onChange extended trigger must be coded (even to do nothing), to force a check by Uniface, which then apply the display layout. This's annoying for developers (things to code explicitly) and for users (action not fluid). Users can also be used to current client/server implementation, migrated to the web : the same behavior would be better for user exprerience.
Uniface Web (USP/DSP/Services)