C2LC-322: Invalid entry in character position boxes should not be accepted

Metadata

Source
C2LC-322
Type
Task
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Created
2021-03-31T15:28:52.818-0400
Updated
2021-10-13T16:48:04.134-0400
Versions
N/A
Fixed Versions
  1. Coding Env 0.9
Component
N/A

Description

Currently, there is a variety of behaviour when someone enters an invalid character position.

  • Letter input starts with a letter then has a number
  • ‘B7’ → set to B
  • Number input starts with a letter then has a number
  • ‘B7’ → discarded
  • Letter input starts with a number then has a letter
  • ‘7B’ → discarded
  • Number input starts with a number then has a letter
  • ‘7B’ → set to 7
  • Letter input has letters out of range
  • ‘AA’ → set to A
  • Number input has number out of range
  • ‘111’ → discarded

We should always discard the invalid entry and provide the person with an informational message.

Comments

  • Michelle D'Souza commented 2021-04-20T10:06:27.421-0400

    @@Sepideh Shahi will provide details about how this should work