On a screen with input fields, where these input fields are defined as Numeric (.) and the maxlength is specified in the property, the following happens when invalid data is entered into the field:
A pop-up box appears informing the user that “one or more fields do not
contain valid entries. The respective fields are marked with red color, please check you entries and correct them as necessary” with an “OK” and “CANCEL” option.
When the user click on “OK”, the field resets to the initial value and the cursor jumps to the next field. If the field where incorrect data was entered was the last field on the screen, the cursor jumps to the first field on the screen that can be filled.
When “CANCEL” is pressed (Have to click it twice), the field retains the incorrect value entered and the cursor jumps to the next field. If the incorrect field is the last one one the screen, the cursor stays on the incorrect field.
Regardless of what the user chooses: “OK” or “CANCEL”, we want the cursor to return to the field where the incorrect value was entered.
How do you do this, any ideas?