Opened 9 years ago

Closed 9 years ago

#356 closed defect (fixed)

Warning message about non-standard personal number is not shown when <enter> is used

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Reggie v2.3
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

Normally, when a personal number is entered that doesn't follow the regular swedish rules a warning is displayed and the operator can decide if the value is ok or not. But this seems to only work when using <tab> to navigate between form fields. If <enter> is used (the barcode reader is using <enter>) the wizard is continuing without warning.

Change History (2)

comment:1 Changed 9 years ago by Nicklas Nordborg

Status: newassigned

comment:2 Changed 9 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [1530]) Fixes #356: Warning message about non-standard personal number is not shown when <enter> is used

For some reason the goNext() function was invoked with '22' as a parameter (don't know where that comes from) making it believe that the user had clicked the "Next" button. The fix is to use a parameterless function goNextAuto() instead. The fix is needed on the personal information registration and the blood registration but has been added to the other forms as well if it is needed in the future.

Note: See TracTickets for help on using tickets.