[Home]

Summary:ASTERISK-08228: Input field validation is timing dependent
Reporter:Andrew Payne (payne92)Labels:
Date Opened:2006-11-30 15:51:45.000-0600Date Closed:2006-12-11 11:24:25.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The validation of many input fields is timing dependent.  If the user types invalid characters slowly, the system will display "Invalid character".  

However, if the user types quickly (e.g. touch types) s/he can "beat" the system and enter invalid data.  Worse, the model of deleting invalid characters can leave the user puzzled (imagine entering 'aa456b' for a password in a numeric only box).

A better model may be to do what Google does:  if the contents of the box are invalid, display a message to that effect to the right of the box.
Comments:By: Pari Nannapaneni (pari) 2006-11-30 18:41:37.000-0600

there is no space to the right of the boxes.

I can show an alert box .. but that would be really irritating for the users.
Alternatively we can do the checking on submit instead of realtime.

Please tell me your comments

By: Pari Nannapaneni (pari) 2006-12-11 11:24:25.000-0600

The gui now (commit >=161) cross checks the pattern again on save

so this should avoid the "beat the system" thing.

-Pari