L
Lee
Just wanted to rant about people who think it's a good idea
to restrict user input.
I just copied and pasted my 8 character Confirmation Code
into a commercial web site and clicked "Go".
It whined that the Confirmation Code was invalid.
Comparing the value I had copied from to the field I had
pasted into, I saw that it had truncated the last character.
The Copy operation had included a leading space, and since
the field only allowed 8 characters, it kept the space and
dropped the last character of the Code.
That's bad user interface design.
The field should have accepted my input blindly and then
stripped whitespace and audited the remaining value.
--
to restrict user input.
I just copied and pasted my 8 character Confirmation Code
into a commercial web site and clicked "Go".
It whined that the Confirmation Code was invalid.
Comparing the value I had copied from to the field I had
pasted into, I saw that it had truncated the last character.
The Copy operation had included a leading space, and since
the field only allowed 8 characters, it kept the space and
dropped the last character of the Code.
That's bad user interface design.
The field should have accepted my input blindly and then
stripped whitespace and audited the remaining value.
--